Remove unneeded lin
This commit is contained in:
parent
cf152e0ca7
commit
da219575a1
@ -51,7 +51,6 @@ def fetch_all(urls, max_workers=8):
|
|||||||
with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
|
with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
|
||||||
future_to_url = {executor.submit(fetch_list, url): url for url in urls}
|
future_to_url = {executor.submit(fetch_list, url): url for url in urls}
|
||||||
for future in concurrent.futures.as_completed(future_to_url):
|
for future in concurrent.futures.as_completed(future_to_url):
|
||||||
url = future_to_url[future]
|
|
||||||
try:
|
try:
|
||||||
proxy_list = future.result()
|
proxy_list = future.result()
|
||||||
for proxy in proxy_list:
|
for proxy in proxy_list:
|
||||||
|
Loading…
Reference in New Issue
Block a user