Is there something such as an Adblock API?
Moderator: General Moderators
Is there something such as an Adblock API?
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?
How to write a PHP function that uses that algorithm and keeps all ads away from my website scrapper:
http://adblockplus.org/blog/investigati ... algorithms
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