Fix the format of domains

This commit is contained in:
Johnshall
2022-02-07 00:58:05 +08:00
parent 72185a9af2
commit 80cd0bad8e

View File

@@ -15,7 +15,7 @@ with open("resultant/top500_manual.list", "r", encoding='utf-8') as f:
for domain in f.readlines(): for domain in f.readlines():
if domain[0] == "#": if domain[0] == "#":
continue continue
domains.append(domain) domains.append(domain[:-1])
# 判断直连或代理 # 判断直连或代理
domains_proxy = [] domains_proxy = []