From 9ab3a3f541262dd9811f6bc1ca39e1c2604e94d5 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sat, 10 Jun 2023 15:37:18 -0400 Subject: [PATCH] Added note about concurrent.futures possibility for larger lists --- sockhub.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sockhub.py b/sockhub.py index 1a594dc..7df34c5 100644 --- a/sockhub.py +++ b/sockhub.py @@ -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: