Added note about concurrent.futures possibility for larger lists

This commit is contained in:
Dionysus 2023-06-10 15:37:18 -04:00
parent 2372f8f101
commit 9ab3a3f541
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Scrap IP:PORT proxies from a URL list
'''
import concurrent.futures
import os
import re
import time
@ -63,7 +64,7 @@ total = 0
proxies = list()
proxy_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'proxies.txt')
print('scanning \033[35m{0:,}\033[0m urls from list...'.format(len(urls)))
for url in urls:
for url in urls: # TODO: Maybe add concurrent.futures support for using larger lists
try:
source = get_source(url)
except: