2021-08-02 14:15:51 +00:00
|
|
|
import sys
|
|
|
|
sys.path.append('/filters-maker')
|
|
|
|
|
2021-08-02 11:57:36 +00:00
|
|
|
import crawler
|
|
|
|
import maker_rpz
|
|
|
|
import maker_domains
|
|
|
|
|
2021-08-07 02:35:17 +00:00
|
|
|
incoming = "/reprwiki/Private-build/ucate/domains.txt"
|
2021-08-02 15:06:42 +00:00
|
|
|
excluded = "/repros/Resources/excluded.txt"
|
2021-08-07 03:19:38 +00:00
|
|
|
rpz_locat = "/reprwiki/Private-build/ucate/rpz.txt"
|
2021-08-02 11:57:36 +00:00
|
|
|
|
2021-08-03 06:53:40 +00:00
|
|
|
crawler.clear_old_files(incoming)
|
2021-08-02 14:38:00 +00:00
|
|
|
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.filtering(incoming)
|
|
|
|
crawler.filteringcon(incoming)
|
|
|
|
crawler.killingdup(incoming)
|
2021-08-02 15:33:14 +00:00
|
|
|
crawler.excluded(excluded, incoming)
|
2021-08-03 12:03:57 +00:00
|
|
|
crawler.sort(incoming)
|
2021-08-02 14:26:03 +00:00
|
|
|
maker_rpz.RPZbuilding(excluded, incoming, rpz_locat)
|
2021-08-02 14:38:00 +00:00
|
|
|
maker_domains.domainsbuilding(excluded, incoming)
|