mirror of
https://github.com/minoplhy/filters.git
synced 2024-12-23 10:38:16 +00:00
Update action.py
This commit is contained in:
parent
091257e97a
commit
1177b2b01c
@ -5,11 +5,13 @@ import crawler
|
||||
import maker_rpz
|
||||
import maker_domains
|
||||
import maker_hosts
|
||||
import maker_abp
|
||||
|
||||
incoming = "/reprwiki/Private-build/ucate/domains.txt"
|
||||
excluded = "/repros/Resources/excluded.txt"
|
||||
rpz_locat = "/reprwiki/Private-build/ucate/rpz.txt"
|
||||
hosts_locat = "/reprwiki/Private-build/ucate/hosts.txt"
|
||||
abp_locat = "/reprwiki/Private-build/ucate/adblock.txt"
|
||||
|
||||
crawler.clear_old_files(incoming)
|
||||
crawler.download_filters("https://dbl.oisd.nl/" ,incoming)
|
||||
@ -31,4 +33,5 @@ crawler.blankremover(incoming)
|
||||
crawler.sort(incoming)
|
||||
maker_rpz.RPZbuilding(excluded, incoming, rpz_locat)
|
||||
maker_hosts.hostsbuilding(excluded, incoming, hosts_locat)
|
||||
maker_abp.ABPbuilding(excluded, incoming, abp_locat)
|
||||
maker_domains.domainsbuilding(excluded, incoming)
|
||||
|
Loading…
Reference in New Issue
Block a user