From eb1fb8f69ffc3db5d9b7f7c695b5a8789f2373c0 Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Mon, 2 Aug 2021 21:26:03 +0700 Subject: [PATCH] Update action.py --- action.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/action.py b/action.py index c7da946..e7fca09 100644 --- a/action.py +++ b/action.py @@ -5,7 +5,7 @@ import crawler import maker_rpz import maker_domains -input = '/repros/$INPUT_DESTINATION_FOLDER/$INPUT_DESTINATION_VERSION/domains.txt' +incoming = '/repros/$INPUT_DESTINATION_FOLDER/$INPUT_DESTINATION_VERSION/domains.txt' excluded = '/repros/Resources/excluded.txt' rpz_locat = '/repros/$INPUT_DESTINATION_FOLDER/$INPUT_DESTINATION_VERSION/rpz.txt' @@ -21,5 +21,7 @@ crawler.download_filters("https://github.com/easylist/easylist/raw/master/easyli crawler.filtering(input) crawler.filteringcon(input) crawler.killingdup(input) -maker_rpz.RPZbuilding(excluded, input, rpz_locat) +maker_rpz.linecounter(incoming) +maker_domains.linecounter(incoming) +maker_rpz.RPZbuilding(excluded, incoming, rpz_locat) maker_domains.domainsbuilding(excluded, input)