Skip to content

stephenhawk8054/openphish-adblock

Repository files navigation

openphish-adblock

OpenPhish feed in adblock syntaxes

The filter list is curated from OpenPhish. The URL feed is fetched from OpenPhish Community Phishing Feed at least twice a day. Compatible with uBlock Origin and Adguard.

Links for adding to blocker extensions

Some modifications comparing to original feeds

  • Ignore queries (?, &) and fragments (#) in the URLs,
  • Ignore www. at the start of the domains,
  • Ignore ports in the domain list,
  • If a URL matches one of the URL/domain paths in domain_paths.txt, that domain-path will be used in the filter list,
  • If a URL matches one of the domain web hosts in domain_web_hosts.txt, only domain in the URL will be used and its path will be ignored,
  • If a URL matches some conditions in custom.py, only domain in the URL will be used and its path will be ignored,
  • URLs that are older than 90 days will be archived,
  • Dead domains are removed at least once a week using Adguard's Dead Domains Linter

How to use

  • Install orjson for Python 3.12+
pip install orjson
python main.py
  • To check dead domains and update the filters, run
python check_dd.py
python main.py

About

GPLv3 License

About

Openphish feed in adblock syntaxes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published