Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: add rate limit back (Gofile) (#1421)
NTFSvolume82c732d70be7
diff --git a/cyberdrop_dl/crawlers/gofile.py b/cyberdrop_dl/crawlers/gofile.pyindex b24936d0e..62958baae 100644--- a/cyberdrop_dl/crawlers/gofile.py+++ b/cyberdrop_dl/crawlers/gofile.py@@ -7,7 +7,7 @@ from datetime import UTC, datetime, timedeltafrom hashlib import sha256from typing import TYPE_CHECKING, ClassVar, Literal, NotRequired, TypedDict, TypeGuard-from cyberdrop_dl.crawlers.crawler import Crawler, SupportedPaths+from cyberdrop_dl.crawlers.crawler import Crawler, RateLimit, SupportedPathsfrom cyberdrop_dl.data_structures.url_objects import FILE_HOST_ALBUM, AbsoluteHttpURL, ScrapeItemfrom cyberdrop_dl.exceptions import DownloadError, PasswordProtectedError, ScrapeErrorfrom cyberdrop_dl.utils.utilities import error_handling_wrapper@@ -94,6 +94,7 @@ class GoFileCrawler(Crawler):PRIMARY_URL: ClassVar[AbsoluteHttpURL] = _PRIMARY_URLDOMAIN: ClassVar[str] = "gofile"FOLDER_DOMAIN: ClassVar[str] = "GoFile"+ _RATE_LIMIT: ClassVar[RateLimit] = 4, 10def __post_init__(self) -> None:self.api_key = self.manager.config_manager.authentication_data.gofile.api_key