Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
replace md and th
Jules-WinnfieldXe5646486e3a6
diff --git a/cyberdrop_dl/scraper/crawlers/jpgchurch_crawler.py b/cyberdrop_dl/scraper/crawlers/jpgchurch_crawler.pyindex df50fad16..d9f19319c 100644--- a/cyberdrop_dl/scraper/crawlers/jpgchurch_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/jpgchurch_crawler.py@@ -93,6 +93,7 @@ class JPGChurchCrawler(Crawler):async def handle_direct_link(self, scrape_item: ScrapeItem) -> None:"""Handles a direct link"""+ scrape_item.url = scrape_item.url.with_name(scrape_item.url.name.replace('.md.', '.').replace('.th.', '.'))pattern = r"simp([1-5])\.jpg\.fish/"scrape_item.url = URL(re.sub(pattern, r'simp\1.jpg.church/', str(scrape_item.url)))filename, ext = await get_filename_and_ext(scrape_item.url.name)