Command-line tool for download and write blocklists.
Blockist use by default iblocklist.com as lists provider, but others can be added and contributions are welcome. Its operation is simple, Blocklist recovers on a web page with a pattern all blocklists URI. Then it downloads and writes them to a file.
https://github.com/Joffr3y/blocklist.git
- Python ≥ 3.6
- Python setuptools
- GCC compiler
For Arch Linux users, you can use the AUR package.
pip install blocklist --user
python setup.py install --user
- ~/.config/blocklist/settings.ini : Configurations.
- ~/.config/blocklist/sources.list : Sources URL.
- ~/.config/blocklist/peers.p2p : Rules list by default.
- ~/.config/blocklist/blocklist.log : Logs.
$ blocklist --help
usage: blocklist [-h] [-u] [-w] [-q]
Blocklist version 0.1.0
optional arguments:
-h, --help show this help message and exit
-u, --update Update the sources
-w, --write Write the rules
-q, --quiet Quiet mode