Skip to content

Bulk asynchronous downloader for multiple file hosts

Added support for files.bunkr.is

Jules-WinnfieldX15eb700b984a
diff --git a/README.md b/README.md
index a1abac871..613362ce0 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# `cyberdrop-dl`
**Bulk downloader for multiple file hosts**
-The latest version of the program is 3.4.28
+The latest version of the program is 3.4.29
<a href="https://www.buymeacoffee.com/juleswinnft" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 295b0ea15..b7767b0fd 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "3.4.28"
+__version__ = "3.4.29"
diff --git a/cyberdrop_dl/base_functions/base_functions.py b/cyberdrop_dl/base_functions/base_functions.py
index dbc27e3e0..fd10b6bd9 100644
--- a/cyberdrop_dl/base_functions/base_functions.py
+++ b/cyberdrop_dl/base_functions/base_functions.py
@@ -118,9 +118,11 @@ async def check_direct(url: URL):
async def create_config(config: Path, passed_args=None, remake=None):
if config.is_file() and not remake:
+ await log("Validating Config")
await validate_config(config)
return
+ await log("Creating Config File")
config_data = config_default
if passed_args:
for arg in authentication_args:
@@ -169,7 +171,7 @@ async def validate_config(config: Path):
except KeyError:
config.unlink()
await log("Config was malformed, recreating.")
- await create_config(config)
+ await create_config(config, None, True)
async def run_args(config: Path, cmd_arg: Dict):
@@ -179,6 +181,7 @@ async def run_args(config: Path, cmd_arg: Dict):
if data['Apply_Config']:
return data
+ await log("Gathering Args")
config_data = config_default[0]["Configuration"]
for arg in authentication_args:
if arg in cmd_arg.keys():
diff --git a/cyberdrop_dl/main.py b/cyberdrop_dl/main.py
index f580212d9..a80987580 100644
--- a/cyberdrop_dl/main.py
+++ b/cyberdrop_dl/main.py
@@ -67,8 +67,11 @@ async def handle_args(args: argparse.Namespace):
print_args['simpcity_password'] = '!REDACTED!'
print_args['jdownloader_password'] = '!REDACTED!'
+ await log("Creating Config")
cmd_args = Namespace(**vars(args)).__dict__
await create_config(args.config_file, print_args)
+
+ await log("Getting Run Args")
use_args = await run_args(args.config_file, cmd_args)
auth_args = use_args['Authentication']