From 813865fbbe332f5083942fefa2dc9d4e2293ea7f Mon Sep 17 00:00:00 2001 From: hawkeye116477 Date: Wed, 20 Sep 2023 22:54:00 +0200 Subject: [PATCH] Update scripts --- .circleci/config.yml | 2 +- scripts/IsOnline.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2b2d2f586..11772f5dd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: steps: - checkout - run: | - python3 /usr/bin/SFLB.py ./KADhosts.txt ./KADhole.txt ./KADomains.txt + python3 /usr/bin/SFLB.py KADhosts.txt KADhole.txt KADomains.txt workflows: version: 2 workflow: diff --git a/scripts/IsOnline.py b/scripts/IsOnline.py index f56ff87b7..23ffa6412 100644 --- a/scripts/IsOnline.py +++ b/scripts/IsOnline.py @@ -55,6 +55,8 @@ for i, page in enumerate(pages): pages[i] = re.sub(WWW_PAT, "", page, count=1) +pages = sorted(set(pages)) + sem_value = 10 exclusions_path = pj(main_path, "exclusions")