From e6bd6e1c342ae627eed38f4381d94a9f3a60954e Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 27 Aug 2021 12:29:28 +0700 Subject: [PATCH] point to github releases instead of filters.kylz.nl --- Resources/source.txt | 11 ++++++----- action.py | 10 ++++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Resources/source.txt b/Resources/source.txt index 0f667f8..31b01c4 100644 --- a/Resources/source.txt +++ b/Resources/source.txt @@ -1,10 +1,11 @@ # ucate https://badmojr.github.io/1Hosts/Pro/rpz.txt -https://filters.kylz.nl/RPZ/stevenblack/f-s.txt -https://filters.kylz.nl/RPZ/adguard/cname-tracker.txt -https://filters.kylz.nl/RPZ/adguard/cname-original.txt -https://filters.kylz.nl/RPZ/stevenblack/f-s.txt -https://filters.kylz.nl/RPZ/someonewhocares/rpz.txt +https://github.com/minoplhy/filters/releases/download/filters-build/Adguard-cname-tracker_rpz.txt +https://github.com/minoplhy/filters/releases/download/filters-build/Adguard-cname-original_rpz.txt +https://github.com/minoplhy/filters/releases/download/filters-build/stevenblack-f-s_rpz.txt +https://github.com/minoplhy/filters/releases/download/filters-build/someonewhocares_rpz.txt +https://github.com/minoplhy/filters/releases/download/filters-build/hostsVN-all_rpz.txt +https://github.com/minoplhy/filters/releases/download/filters-build/hosts-database-full-alive_rpz.txt https://github.com/minoplhy/filters/raw/main/Resources/blocked.txt # veneto https://blokada.org/mirror/v5/exodusprivacy/standard/hosts.txt diff --git a/action.py b/action.py index 38a590b..ecfe0dc 100644 --- a/action.py +++ b/action.py @@ -19,10 +19,12 @@ os.makedirs('/reprwiki/Private-build/ucate',exist_ok=True) crawler.clear_old_files(incoming) crawler.download_filters("https://badmojr.github.io/1Hosts/Pro/rpz.txt" ,incoming) -crawler.download_filters("https://filters.kylz.nl/RPZ/adguard/cname-tracker.txt" ,incoming) -crawler.download_filters("https://filters.kylz.nl/RPZ/adguard/cname-original.txt" ,incoming) -crawler.download_filters("https://filters.kylz.nl/RPZ/stevenblack/f-s.txt" ,incoming) -crawler.download_filters("https://filters.kylz.nl/RPZ/someonewhocares/rpz.txt" ,incoming) +crawler.download_filters("https://github.com/minoplhy/filters/releases/download/filters-build/Adguard-cname-tracker_rpz.txt" ,incoming) +crawler.download_filters("https://github.com/minoplhy/filters/releases/download/filters-build/Adguard-cname-original_rpz.txt" ,incoming) +crawler.download_filters("https://github.com/minoplhy/filters/releases/download/filters-build/stevenblack-f-s_rpz.txt" ,incoming) +crawler.download_filters("https://github.com/minoplhy/filters/releases/download/filters-build/someonewhocares_rpz.txt" ,incoming) +crawler.download_filters("https://github.com/minoplhy/filters/releases/download/filters-build/hostsVN-all_rpz.txt" ,incoming) +crawler.download_filters("https://github.com/minoplhy/filters/releases/download/filters-build/hosts-database-full-alive_rpz.txt" ,incoming) crawler.download_filters("https://urlhaus.abuse.ch/downloads/rpz/" ,incoming) crawler.download_filters("https://github.com/minoplhy/filters/raw/main/Resources/blocked.txt" ,incoming) crawler.filtering(incoming)