Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
add password failure
Jules-WinnfieldXdddfb66f566c
diff --git a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py b/cyberdrop_dl/scraper/crawlers/gofile_crawler.pyindex 3edcef451..2309ae7d7 100644--- a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py@@ -8,7 +8,7 @@ from typing import TYPE_CHECKINGfrom aiolimiter import AsyncLimiterfrom yarl import URL-from cyberdrop_dl.clients.errors import ScrapeFailure, DownloadFailure+from cyberdrop_dl.clients.errors import ScrapeFailure, DownloadFailure, PasswordProtectedfrom cyberdrop_dl.scraper.crawler import Crawlerfrom cyberdrop_dl.utils.dataclasses.url_objects import ScrapeItemfrom cyberdrop_dl.utils.utilities import get_filename_and_ext, error_handling_wrapper@@ -61,6 +61,10 @@ class GoFileCrawler(Crawler):raise ScrapeFailure(e.status, e.message)JSON_Resp = JSON_Resp['data']++ if "password" in JSON_Resp:+ raise PasswordProtected()+title = await self.create_title(JSON_Resp["name"], content_id, None)contents = JSON_Resp["children"]