Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: wreq client
NTFSvolume1ab8d74d2959
diff --git a/cyberdrop_dl/clients/wreq.py b/cyberdrop_dl/clients/wreq.pyindex 3e33bf81f..bd7d4b1f2 100644--- a/cyberdrop_dl/clients/wreq.py+++ b/cyberdrop_dl/clients/wreq.py@@ -25,7 +25,12 @@ else:class WreqClient: ...- class Response: ...+ if IS_INSTALLED:+ from wreq.wreq import Response++ else:++ class Response: ...def cast_method(method: HttpMethod) -> Method:@@ -41,10 +46,11 @@ def cast_tls(version: Literal["1.2", "1.3"]) -> TlsVersion:return getattr(TlsVersion, tls)-def cast_impersonate(target: ImpersonateTarget) -> Emulation | Profile:+def cast_impersonate(target: ImpersonateTarget | Literal[True]) -> Emulation | Profile:from wreq.emulation import Emulation, Platformreturn {+ True: Emulation.Chrome149,"chrome": Emulation.Chrome149,"edge": Emulation.Edge148,"safari": Emulation.Safari26_4,