Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Update scraper_client.py
Jacob2366011780a0
diff --git a/cyberdrop_dl/clients/scraper_client.py b/cyberdrop_dl/clients/scraper_client.pyindex 67890f4cf..cf46bf382 100644--- a/cyberdrop_dl/clients/scraper_client.py+++ b/cyberdrop_dl/clients/scraper_client.py@@ -144,7 +144,7 @@ class ScraperClient:assert content_type is not Noneif not any(s in content_type.lower() for s in ("html", "text")):raise InvalidContentTypeError(message=f"Received {content_type}, was expecting text", origin=origin)- text = await response.text()+ text = await CachedStreamReader(await response.read()).read()if with_response_url:return BeautifulSoup(text, "html.parser"), URL(response.url)return BeautifulSoup(text, "html.parser")