Page 1 of 1
Is there something such as an Adblock API?
Posted: Mon Jan 16, 2012 8:47 am
by lovelf
I'm building a website scraper and would want to remove all ads from the websites that I scrap, is there something such as an Adblock API? the famous Adblock web browser extension that removes all ads from a webpage.
Re: Is there something such as an Adblock API?
Posted: Mon Jan 16, 2012 10:48 am
by lovelf
How to write a PHP function that uses that algorithm and keeps all ads away from my website scrapper:
Code: Select all
function getMatchingFilter1(S, F)
for each filter in F
if (filter matches S)
return filter
end if
end for
return null
end function
http://adblockplus.org/blog/investigati ... algorithms