Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix gofile api key

Jules-WinnfieldX328cd2de18f9
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 5180a68aa..bd28a40ee 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "4.1.11"
+__version__ = "4.1.12"
diff --git a/cyberdrop_dl/crawlers/GoFile_Spider.py b/cyberdrop_dl/crawlers/GoFile_Spider.py
index 2337ff2b6..48fdd9c4b 100644
--- a/cyberdrop_dl/crawlers/GoFile_Spider.py
+++ b/cyberdrop_dl/crawlers/GoFile_Spider.py
@@ -25,6 +25,7 @@ class GoFileCrawler:
if api_token:
self.token = api_token
+ await self.set_cookie(session)
return
try:
diff --git a/cyberdrop_dl/main.py b/cyberdrop_dl/main.py
index faa487157..b6db4c618 100644
--- a/cyberdrop_dl/main.py
+++ b/cyberdrop_dl/main.py
@@ -105,6 +105,7 @@ def parse_args() -> argparse.Namespace:
# Authentication details
config_group = config_data["Authentication"]
auth_opts = parser.add_argument_group("Authentication options")
+ auth_opts.add_argument("--gofile-api-key", help="api key for premium gofile", default=config_group["gofile_api_key"])
auth_opts.add_argument("--pixeldrain-api-key", help="api key for premium pixeldrain", default=config_group["pixeldrain_api_key"])
auth_opts.add_argument("--simpcity-username", help="username to login to simpcity", default=config_group["simpcity_username"])
auth_opts.add_argument("--simpcity-password", help="password to login to simpcity", default=config_group['simpcity_password'])