Skip to content

Bulk asynchronous downloader for multiple file hosts

Update downloader.py

Jules-WinnfieldXaf3afdf29a6f
diff --git a/downloader.py b/downloader.py
index 1bd759ed4..ccedafd13 100644
--- a/downloader.py
+++ b/downloader.py
@@ -168,7 +168,7 @@ if __name__ == '__main__':
elif 'bunk' in url.lower():
directory_name = soup.select('h1.title')[0].text.strip()
# Artificial limit to bypass rate limitting
- cpu_count = cpu_count if cpu_count < 4 else 3
+ cpu_count = cpu_count if cpu_count < 3 else 2
except:
print("Skipping URL: {}".format(url))
print("Please check the URL and if it's valid please create a github issue.")