From d587ec9a5e8a8ba1bd93a1c9b366d0c9b3a9c5e8 Mon Sep 17 00:00:00 2001 From: Johnshall Date: Sat, 5 Feb 2022 23:58:03 +0800 Subject: [PATCH] Remove top50 --- factory/top500.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/factory/top500.py b/factory/top500.py index b0538c3..67df658 100644 --- a/factory/top500.py +++ b/factory/top500.py @@ -148,12 +148,12 @@ for url in r.text.split("\n")[:-1]: domains_direct.append(url) # write files -file_proxy = open('resultant/top50_proxy.list', 'w', encoding='utf-8') -file_direct = open('resultant/top50_direct.list', 'w', encoding='utf-8') +file_proxy = open('resultant/top500_proxy.list', 'w', encoding='utf-8') +file_direct = open('resultant/top500_direct.list', 'w', encoding='utf-8') now_time = time.strftime("%Y-%m-%d %H:%M:%S") -file_proxy.write('# top50 proxy list update time: ' + now_time + '\n') -file_direct.write('# top50 direct list update time: ' + now_time + '\n') +file_proxy.write('# top500 proxy list update time: ' + now_time + '\n') +file_direct.write('# top500 direct list update time: ' + now_time + '\n') domains_direct = list( set(domains_direct) ) domains_proxy = list( set(domains_proxy) )