Update p2p.py
This commit is contained in:
@@ -134,7 +134,7 @@ def process_urls_multithreaded(lines, max_workers=30):
|
|||||||
|
|
||||||
################################################# 写入文件
|
################################################# 写入文件
|
||||||
def write_list(file_path, data_list):
|
def write_list(file_path, data_list):
|
||||||
with open(file_path, 'w', encoding='utf-8') as:
|
with open(file_path, 'w', encoding='utf-8') as file:
|
||||||
for item in data_list:
|
for item in data_list:
|
||||||
file.write(item + '\n')
|
file.write(item + '\n')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user