mirror of
https://github.com/minoplhy/filters.git
synced 2024-11-13 07:07:02 +00:00
30 lines
1.4 KiB
Python
30 lines
1.4 KiB
Python
import sys
|
|
sys.path.append('/filters-maker')
|
|
|
|
import crawler
|
|
import maker_rpz
|
|
import maker_domains
|
|
|
|
incoming = "/reprwiki/Private-build/ucate/domains.txt"
|
|
excluded = "/repros/Resources/excluded.txt"
|
|
rpz_locat = "/reprwiki/Private-build/ucate/rpz.txt"
|
|
|
|
crawler.clear_old_files(incoming)
|
|
crawler.download_filters("https://dbl.oisd.nl/" ,incoming)
|
|
crawler.download_filters("https://hosts.netlify.app/Pro/rpz.txt" ,incoming)
|
|
crawler.download_filters("https://filters.kylz.nl/RPZ/adguard/dns.txt" ,incoming)
|
|
crawler.download_filters("https://filters.kylz.nl/RPZ/adguard/cname-tracker.txt" ,incoming)
|
|
crawler.download_filters("https://filters.kylz.nl/RPZ/adguard/cname-original.txt" ,incoming)
|
|
crawler.download_filters("https://filters.kylz.nl/RPZ/stevenblack/f-s.txt" ,incoming)
|
|
crawler.download_filters("https://filters.kylz.nl/RPZ/someonewhocares/rpz.txt" ,incoming)
|
|
crawler.download_filters("https://urlhaus.abuse.ch/downloads/rpz/" ,incoming)
|
|
crawler.download_filters("https://github.com/easylist/easylist/raw/master/easylist/easylist_adservers.txt" ,incoming)
|
|
crawler.download_filters("https://blokada.org/mirror/v5/exodusprivacy/standard/hosts.txt" ,incoming)
|
|
crawler.filtering(incoming)
|
|
crawler.filteringcon(incoming)
|
|
crawler.killingdup(incoming)
|
|
crawler.excluded(excluded, incoming)
|
|
crawler.sort(incoming)
|
|
maker_rpz.RPZbuilding(excluded, incoming, rpz_locat)
|
|
maker_domains.domainsbuilding(excluded, incoming)
|