Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Update reddit_crawler.py
Jacobb8bf27a4ca28
diff --git a/cyberdrop_dl/scraper/crawlers/reddit_crawler.py b/cyberdrop_dl/scraper/crawlers/reddit_crawler.pyindex 3f3342cb0..23927a93e 100644--- a/cyberdrop_dl/scraper/crawlers/reddit_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/reddit_crawler.py@@ -3,7 +3,7 @@ from __future__ import annotationsimport contextlibfrom typing import TYPE_CHECKING-import aiohttp+from aiohttp_client_cache import CachedSession as ClientSessionimport asyncprawimport asyncprawcorefrom aiolimiter import AsyncLimiter@@ -44,7 +44,7 @@ class RedditCrawler(Crawler):self.scraping_progress.remove_task(task_id)return- async with aiohttp.ClientSession() as reddit_session:+ async with ClientSession() as reddit_session:reddit = asyncpraw.Reddit(client_id=self.reddit_personal_use_script,client_secret=self.reddit_secret,