Update action.py

This commit is contained in:
Minoplhy 2021-08-02 21:26:03 +07:00 committed by GitHub
parent 1d2eea1946
commit eb1fb8f69f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)