Update multithread_script_5.0.py

This commit is contained in:
datechnoman 2023-12-05 02:41:08 +00:00
parent 00c0678135
commit d95927c230

View File

@ -63,7 +63,7 @@ urls = [url.strip() for url in urls]
batch_size = 100 batch_size = 100
# Define the concurrency level (number of download processes running concurrently) # Define the concurrency level (number of download processes running concurrently)
concurrency_level = 10 concurrency_level = 8
# Split the URLs into batches # Split the URLs into batches
batches = [urls[i:i+batch_size] for i in range(0, len(urls), batch_size)] batches = [urls[i:i+batch_size] for i in range(0, len(urls), batch_size)]