hufilter-dev icon indicating copy to clipboard operation
hufilter-dev copied to clipboard

Check domains automatically

Open scripthunter7 opened this issue 2 years ago • 2 comments
trafficstars

Workflow:

  1. Extract domains from adblock filtering rules to a set with AGTree
    • For example, extract
      • example.com from example.com###banner or
      • example.net from /ads.js^$domain=example.net or
      • example.org from ||example.org/test, etc.
  2. 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?
  3. 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

scripthunter7 avatar Jul 04 '23 08:07 scripthunter7

@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

scripthunter7 avatar Jul 25 '23 08:07 scripthunter7

https://github.com/AdguardTeam/DeadDomainsLinter

scripthunter7 avatar Jan 31 '24 22:01 scripthunter7