python-adblock
python-adblock copied to clipboard
Certain selectors are not being returned by the engine.
When running url_comsetic_resources, certain hide selectors are not being returned. For example, with ublock's filters.txt, on url_cosmetic_resources("https://google.com"), I would expect:
#atvcap > div:has(h3[role="heading"] > span:has-text(/^Ads/))
to be one of the hide selectors, but that is not returned.
For url_cosmetic_resources("https://youtube.com"), I would expect:
ytd-display-ad-renderer:upward(ytd-rich-item-renderer)
to be one of the hide selectors, but that is not returned either.
Might be worth trying again now since I've updated the upstream library to 0.5.6.
No go. This seems to a current limitation of the upstream library https://github.com/brave/adblock-rust/issues/145