Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
remove temp logs
datawhores6ab9fbd2fec2
diff --git a/cyberdrop_dl/utils/utilities.py b/cyberdrop_dl/utils/utilities.pyindex 871d0a235..65a2826d3 100644--- a/cyberdrop_dl/utils/utilities.py+++ b/cyberdrop_dl/utils/utilities.py@@ -220,7 +220,6 @@ async def purge_dir(dirname: Path) -> None:dir_count = len(os.listdir(sub_dir))if dir_count == 0:deleted.append(sub_dir)- await log(deleted,100)list(map(os.rmdir, deleted))@@ -244,7 +243,6 @@ async def check_partials_and_empty_folders(manager: Manager):await log_with_color("Checking for empty folders...", "yellow", 20)await purge_dir(manager.path_manager.download_dir)if isinstance(manager.path_manager.sorted_dir, Path):- await log(manager.path_manager.sorted_dir,100)await purge_dir(manager.path_manager.sorted_dir)