开发者

Python EasyList Processor/Parser

开发者 https://www.devze.com 2023-03-20 14:59 出处:网络
Are there any processors/parsers for开发者_C百科 EasyList that are written in python? http://easylist.adblockplus.org/en/Found it! Like a month later :(

Are there any processors/parsers for开发者_C百科 EasyList that are written in python? http://easylist.adblockplus.org/en/


Found it! Like a month later :(

http://adblockplus.org/en/filters


Apparently there is, in python.

https://pypi.python.org/pypi/adblockparser


Apparently not, according to Google.

The EasyList structure is pretty straightforward, I bet you you can knock up a parser in less time than it takes to search. Recognize domain names, strip out trailing resource-strings with ^, it all looks easy.

There is Ned Batchelder's list of parsers from 2004.

0

精彩评论

暂无评论...
验证码 换一张
取 消