Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: cpu count
NTFSvolume581973f4a3fd
diff --git a/cyberdrop_dl/ddos_guard.py b/cyberdrop_dl/ddos_guard.pyindex 843da62c3..7d265f47d 100644--- a/cyberdrop_dl/ddos_guard.py+++ b/cyberdrop_dl/ddos_guard.py@@ -106,7 +106,7 @@ class Anubis(DDosGuard):import timefrom concurrent.futures import ProcessPoolExecutor, as_completed- max_workers = min(cpu_count() // 2, 1)+ max_workers = max(cpu_count() // 2, 1)start_time = time.monotonic()with ProcessPoolExecutor(max_workers=max_workers, mp_context=mp.get_context("spawn")) as executor:diff --git a/cyberdrop_dl/plugins.py b/cyberdrop_dl/plugins.pyindex b6b7b16b4..7680d9d92 100644--- a/cyberdrop_dl/plugins.py+++ b/cyberdrop_dl/plugins.py@@ -1,4 +1,4 @@-"""Loads external packages dinamically from their metadata+"""Loads external packages dynamically from their metadataPackages need to specify an entrypoint in their metadata as "cyberdrop_dl_plugins".