Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ import braveblock

# Initialize the engine loaded with a rules list
# One can download easylist and load its lines into the engine
braveblock.Adblocker(
rules=[
adblocker = braveblock.Adblocker(
include_easylist=False, # Whether to include easylist rules. True by default
include_easyprivacy=False, # Whether to include easyprivacy rules. True by default
rules=[ # A list of custom rules to load into the engine
"-advertisement-icon.",
"-advertisement/script.",
]
Expand Down