add def clear_old_files

This commit is contained in:
Minoplhy 2021-08-03 13:53:40 +07:00 committed by GitHub
parent c9c3b51424
commit df1b88e836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ incoming = "/repros/Private-build/ucate/domains.txt"
excluded = "/repros/Resources/excluded.txt"
rpz_locat = "/repros/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)