hufilter-dev
hufilter-dev copied to clipboard
Check domains automatically
trafficstars
Workflow:
- Extract domains from adblock filtering rules to a set with AGTree
- For example, extract
example.comfromexample.com###bannerorexample.netfrom/ads.js^$domain=example.netorexample.orgfrom||example.org/test, etc.
- For example, extract
- Send a request to the domain and check the following:
- does the request timeout?
- is there a network error?
- is the request redirected to a different domain?
- Creating a scheduled GH actions workflow
- call this workflow every week
- it is enough to give a warning for potentially problematic domains, as the result of the check script requires a human review
@ehrhardt06 Please note that we cannot check here the case if the content of the page changes to some random domain seller or other content, as the domaion and the website technically works in this case
https://github.com/AdguardTeam/DeadDomainsLinter