Generates a host list of first-party trackers for ad-blocking.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
360B

  1. #!/usr/bin/env bash
  2. function log() {
  3. echo -e "\033[33m$@\033[0m"
  4. }
  5. # Get all subdomains accessed by each website in the website list
  6. cat websites/*.list | sort -u > temp/all_websites.list
  7. ./collect_subdomains.py temp/all_websites.list > temp/subdomains_from_websites.list
  8. sort -u temp/subdomains_from_websites.list > subdomains/from_websites.cache.list