From ff465de9fe3a3b03dde788947457c48da29a612d Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Sun, 8 Aug 2021 11:41:13 +0700 Subject: [PATCH] Update action.py --- action.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.py b/action.py index 334e369..8376e67 100644 --- a/action.py +++ b/action.py @@ -4,10 +4,12 @@ sys.path.append('/filters-maker') import crawler import maker_rpz import maker_domains +import maker_hosts 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" crawler.clear_old_files(incoming) crawler.download_filters("https://dbl.oisd.nl/" ,incoming) @@ -26,4 +28,5 @@ crawler.killingdup(incoming) crawler.excluded(excluded, incoming) crawler.sort(incoming) maker_rpz.RPZbuilding(excluded, incoming, rpz_locat) +maker_hosts.hostsbuilding(excluded, incoming, hosts_locat) maker_domains.domainsbuilding(excluded, incoming)