Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
turns out I'm bad at reflecting
Jules3c6619d2c516
diff --git a/utils/downloaders.py b/utils/downloaders.pyindex d5c22e646..0ab3ddf56 100644--- a/utils/downloaders.py+++ b/utils/downloaders.py@@ -90,7 +90,7 @@ class Downloader:async for chunk, _ in resp.content.iter_chunks():downloaded.extend(chunk)progress.update(len(chunk))- await write_partial(temp_file, downloaded)+ await self.write_partial(temp_file, downloaded)except (aiohttp.client_exceptions.ClientPayloadError, aiohttp.client_exceptions.ClientOSError,aiohttp.client_exceptions.ServerDisconnectedError, asyncio.TimeoutError) as e: