From c941b867b4a364721c19a1ddb7b6ba73ded9a898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B8=A2=E4=BD=8E=E5=90=B8?= Date: Sun, 30 Jul 2023 13:45:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20=E6=9B=B4=E6=96=B0=20builder=20r?= =?UTF-8?q?pz=20domain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoBuild/builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoBuild/builder.py b/AutoBuild/builder.py index 2afad31..79eba41 100644 --- a/AutoBuild/builder.py +++ b/AutoBuild/builder.py @@ -5,7 +5,7 @@ import requests filterlist = { 'abp': ['experimental.txt', 'filter.txt', 'PureView/news.txt', 'PureView/news_mobile.txt'], - 'hosts': ['hosts.txt', 'nofarm_hosts.txt', 'TW165.txt'] + 'hosts': ['hosts.txt', 'nofarm_hosts.txt', 'TW165.txt', 'TWNIC-RPZ.txt'] } url = 'https://filter.futa.gg/' tz = timezone(timedelta(hours=+8)) @@ -89,7 +89,7 @@ for category in filterlist: newoutput = '\n'.join(re.findall(pattern, newdata, re.MULTILINE)) print(newoutput) output.write(newoutput) - if filename in ['TW165.txt', 'hosts.txt']: + if filename in ['TW165.txt', 'hosts.txt', 'TWNIC-RPZ.txt']: to_pure_domain(filename, data) # if filename == 'hosts.txt':