Update action.py

This commit is contained in:
Minoplhy 2021-09-29 22:15:14 +07:00 committed by GitHub
parent 75830ac1d4
commit 737f467296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,8 @@ 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"
unb_locat = "/reprwiki/Private-build/ucate/unbound.conf"
dnq_locat = "/reprwiki/Private-build/ucate/dnsmasq.conf"
Version = "UCATE"
os.makedirs('/reprwiki/Private-build/ucate',exist_ok=True)
@ -36,6 +38,8 @@ crawler.sort(incoming)
maker_rpz.RPZbuilding(excluded, incoming, rpz_locat ,Version)
maker_hosts.hostsbuilding(excluded, incoming, hosts_locat ,Version)
maker_abp.ABPbuilding(excluded, incoming, abp_locat ,Version)
maker_unbound.UNBbuilding(excluded, unb_locat ,Version)
maker_dnsmasq.DNQbuilding(excluded, dnq_locat ,Version)
maker_domains.domainsbuilding(excluded, incoming ,Version)
incoming = "/reprwiki/Private-build/veneto/domains.txt"
@ -43,6 +47,8 @@ excluded = "/repros/Resources/excluded.txt"
rpz_locat = "/reprwiki/Private-build/veneto/rpz.txt"
hosts_locat = "/reprwiki/Private-build/veneto/hosts.txt"
abp_locat = "/reprwiki/Private-build/veneto/adblock.txt"
unb_locat = "/reprwiki/Private-build/veneto/unbound.conf"
dnq_locat = "/reprwiki/Private-build/veneto/dnsmasq.conf"
Version = "VENETO"
os.makedirs('/reprwiki/Private-build/veneto',exist_ok=True)
@ -60,6 +66,8 @@ crawler.sort(incoming)
maker_rpz.RPZbuilding(excluded, incoming, rpz_locat ,Version)
maker_hosts.hostsbuilding(excluded, incoming, hosts_locat ,Version)
maker_abp.ABPbuilding(excluded, incoming, abp_locat ,Version)
maker_unbound.UNBbuilding(excluded, unb_locat ,Version)
maker_dnsmasq.DNQbuilding(excluded, dnq_locat ,Version)
maker_domains.domainsbuilding(excluded, incoming ,Version)
excluded = "/repros/Resources/excluded.txt"