From 3fcd96102e4720b546cd2a5ebe6a3616cd8a7e4a Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 15 Nov 2021 09:21:38 +0700 Subject: [PATCH] Experiment : add addition to version.md --- action.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.py b/action.py index 05636c3..976ed4d 100644 --- a/action.py +++ b/action.py @@ -39,6 +39,7 @@ crawler.IP_URL_FILTERING(incoming) crawler.excluded(excluded, incoming) crawler.blankremover(incoming) crawler.sort(incoming) +UCATEline = maker.linecounter(incoming) maker.RPZBlocklist(excluded, incoming, rpz_locat ,Version) maker.HOSTBlocklist(excluded, incoming, hosts_locat ,Version) maker.ABPBlocklist(excluded, incoming, abp_locat ,Version) @@ -75,6 +76,7 @@ crawler.IP_URL_FILTERING(incoming) crawler.excluded(excluded, incoming) crawler.blankremover(incoming) crawler.sort(incoming) +VENETOline = maker.linecounter(incoming) maker.RPZBlocklist(excluded, incoming, rpz_locat ,Version) maker.HOSTBlocklist(excluded, incoming, hosts_locat ,Version) maker.ABPBlocklist(excluded, incoming, abp_locat ,Version) @@ -88,10 +90,12 @@ Version = "Allowlist" rpz_locat = "/reprwiki/Private-build/Allowlist/rpz.txt" abp_locat = "/reprwiki/Private-build/Allowlist/adblock.txt" domains_locat = "/reprwiki/Private-build/Allowlist/domains.txt" +ALLOWLISTline = maker.linecounter(excluded) maker.RPZAllowlist(excluded, rpz_locat ,Version) maker.ABPAllowlist(excluded, abp_locat ,Version) maker.DOMAINAllowlist(excluded ,domains_locat ,Version) import version het = "/repros/version.md" -version.build(het) +addition = "\n# Rule Counter \nUCATE : " + UCATEline +"\nVeneto : " + VENETOline + "\nAllowlist : " + ALLOWLISTline +version.build(het, addition)