From 4b799afa7823f61e53d2c655ea3e5088157f79c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B8=A2=E4=BD=8E=E5=90=B8?= Date: Fri, 23 Feb 2024 23:13:36 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=9B=B4=E6=96=B0=20RPZ=20?= =?UTF-8?q?=E6=AA=94=E6=A1=88=E7=94=A2=E7=94=9F=E8=A6=8F=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoBuild/twnic_rpz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoBuild/twnic_rpz.py b/AutoBuild/twnic_rpz.py index ed0d1ee..00f7d1b 100644 --- a/AutoBuild/twnic_rpz.py +++ b/AutoBuild/twnic_rpz.py @@ -24,8 +24,8 @@ def main(): sys.exit(1) output = [domain for in_dic in parse_data for domain in in_dic['domains']] - with open('TWNIC-RPZ_adb.txt', 'w') as f: - f.write(''.join(f'||{e}^\n' for e in output)) + with open('TWNIC-RPZ.txt', 'w') as f: + f.write('\n'.join(output)) if __name__ == '__main__':