[][src]Crate adblock

Python wrapper for Brave's adblocking library, which is written in Rust.

Structs

BlockerResult

The result of an ad-blocking check.

Engine

The main object featured in this library. This object holds the adblocker's state, and can be queried to see if a given request should be blocked or not.

FilterSet

Manages a set of rules to be added to an Engine.

UrlSpecificResources

Contains cosmetic filter information intended to be injected into a particular hostname.

Enums

BlockerError

Functions

PyInit_adblock

This autogenerated function is called by the python interpreter when importing the module.