Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Nah, still trying to fix issues.
Jules-WinnfieldX37720622b150
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.pyindex 0df925b93..178260dd6 100644--- a/cyberdrop_dl/__init__.py+++ b/cyberdrop_dl/__init__.py@@ -1 +1 @@-__version__ = "5.0.83"+__version__ = "5.0.84"diff --git a/cyberdrop_dl/scraper/crawler.py b/cyberdrop_dl/scraper/crawler.pyindex e44088c17..727aac75e 100644--- a/cyberdrop_dl/scraper/crawler.py+++ b/cyberdrop_dl/scraper/crawler.py@@ -52,20 +52,18 @@ class Crawler(ABC):"""Runs the crawler loop"""while True:item: ScrapeItem = await self.scraper_queue.get()- await log(f"Scrape Starting: {item.url}")- if item.url in self.scraped_items:- await self.finish_task()- if self.scraper_queue.empty():- self.complete = True- continue-self.complete = False- self.scraped_items.append(item.url)- await self.fetch(item)+ await log(f"Scrape Starting: {item.url}")+ if item.url not in self.scraped_items:+ self.scraped_items.append(item.url)+ await self.fetch(item)await log(f"Scrape Finished: {item.url}")await self.finish_task()+ if self.scraper_queue.empty():+ self.complete = True+"""~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"""@abstractmethoddiff --git a/pyproject.toml b/pyproject.tomlindex 33ac0551a..f355e7af9 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "cyberdrop-dl"-version = "5.0.83"+version = "5.0.84"description = "Bulk downloader for multiple file hosts"authors = ["Jules Winnfield <[email protected]>"]readme = "README.md"