scrapinghub / adblockparser

Python parser for Adblock Plus filters
MIT License
194 stars 29 forks source link

Handle empty rule #5

Closed skrypka closed 8 years ago

skrypka commented 8 years ago

@kmike Hi, Simple fix for the second bug in issue https://github.com/scrapinghub/splash/issues/399

kmike commented 8 years ago

Awesome, thanks @skrypka!

skrypka commented 8 years ago

@kmike Yeah, agree. I just didn't want to create extra complexity by stripping and handling AdblockRule class. But after your message I find out an even better way to handle the situation... just marking a rule as a comment.

kmike commented 8 years ago

Thanks @skrypka! Test failure is unrelated.