Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix remove_id (only should apply to specific domains)
Jules-WinnfieldX32bbfb9a7965
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.pyindex b907c70d2..95883ece2 100644--- a/cyberdrop_dl/__init__.py+++ b/cyberdrop_dl/__init__.py@@ -1 +1 @@-__version__ = "5.0.74"+__version__ = "5.0.75"diff --git a/cyberdrop_dl/scraper/crawler.py b/cyberdrop_dl/scraper/crawler.pyindex 3398c7820..b9525eff7 100644--- a/cyberdrop_dl/scraper/crawler.py+++ b/cyberdrop_dl/scraper/crawler.py@@ -73,7 +73,10 @@ class Crawler(ABC):async def handle_file(self, url: URL, scrape_item: ScrapeItem, filename: str, ext: str) -> None:"""Finishes handling the file and hands it off to the download_queue"""- original_filename, filename = await remove_id(self.manager, filename, ext)+ if self.domain in ['cyberdrop', 'bunkrr']:+ original_filename, filename = await remove_id(self.manager, filename, ext)+ else:+ original_filename = filenamecheck_complete = await self.manager.db_manager.history_table.check_complete(self.domain, url)if check_complete:diff --git a/pyproject.toml b/pyproject.tomlindex bfb9bd889..b141900be 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "cyberdrop-dl"-version = "5.0.74"+version = "5.0.75"description = "Bulk downloader for multiple file hosts"authors = ["Jules Winnfield <[email protected]>"]readme = "README.md"