Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix for query based strings being rejected

Jules-WinnfieldX1e847a065f43
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 27f21a00a..86b7731f0 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.1.29"
+__version__ = "5.1.31"
diff --git a/cyberdrop_dl/scraper/crawler.py b/cyberdrop_dl/scraper/crawler.py
index 308c3be66..7a46e082c 100644
--- a/cyberdrop_dl/scraper/crawler.py
+++ b/cyberdrop_dl/scraper/crawler.py
@@ -46,9 +46,9 @@ class Crawler(ABC):
self.waiting_items += 1
await self._lock.acquire()
self.waiting_items -= 1
- if item.url.path not in self.scraped_items:
+ if item.url.path_qs not in self.scraped_items:
await log(f"Scrape Starting: {item.url}", 20)
- self.scraped_items.append(item.url.path)
+ self.scraped_items.append(item.url.path_qs)
await self.fetch(item)
await log(f"Scrape Finished: {item.url}", 20)
else:
diff --git a/pyproject.toml b/pyproject.toml
index 843074d29..3fa8232dd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.1.29"
+version = "5.1.31"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"