From 737f467296a49af9fe5140f054536924f921c373 Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Wed, 29 Sep 2021 22:15:14 +0700 Subject: [PATCH] Update action.py --- action.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/action.py b/action.py index 939adb4..a034b87 100644 --- a/action.py +++ b/action.py @@ -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"