Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: incorrect password logic

NTFSvolumef602c67343e7
diff --git a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
index 131a4468e..65d9cc1ae 100644
--- a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
@@ -75,7 +75,7 @@ class GoFileCrawler(Crawler):
JSON_Resp = JSON_Resp['data']
if "password" in JSON_Resp:
- if 'passwordWrong' in JSON_Resp or not password:
+ if 'passwordWrong' == JSON_Resp['password'] or not password:
raise PasswordProtected(scrape_item)
if JSON_Resp["canAccess"] is False: