Skip to content

Bulk asynchronous downloader for multiple file hosts

increment version number

datawhores1228719bdd69
diff --git a/cyberdrop_dl/scraper/scraper.py b/cyberdrop_dl/scraper/scraper.py
index 709dc6362..d47c699dc 100644
--- a/cyberdrop_dl/scraper/scraper.py
+++ b/cyberdrop_dl/scraper/scraper.py
@@ -358,7 +358,7 @@ class ScrapeMapper:
async def load_all_bunkr_failed_links_via_hash(self) -> None:
"""Loads all bunkr links with maintance hash"""
- entries = await self.manager.db_manager.history_table.get_all_bunkr_failed_via_hash()
+ entries = await self.manager.db_manager.history_table.get_all_bunkr_failed()
items=[]
for entry in entries:
item=self.get_item_from_entry(entry)
diff --git a/cyberdrop_dl/utils/database/tables/history_table.py b/cyberdrop_dl/utils/database/tables/history_table.py
index 3f4edc9e5..82d2847d8 100644
--- a/cyberdrop_dl/utils/database/tables/history_table.py
+++ b/cyberdrop_dl/utils/database/tables/history_table.py
@@ -165,6 +165,11 @@ class HistoryTable:
all_files = await result.fetchall()
return all_files
"""~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"""
+ async def get_all_bunkr_failed(self):
+ hash_list= self.get_all_bunkr_failed_via_hash()
+ # size_list= self.get_all_bunkr_failed_via_size()
+
+
async def get_all_bunkr_failed_via_hash(self) -> Iterable[Row]:
"""Returns a list of all items"""
cursor = await self.db_conn.cursor()
diff --git a/pyproject.toml b/pyproject.toml
index f9bd81d39..127aab3eb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl-patched"
-version = "5.4.28"
+version = "5.4.29"
description = "Bulk downloader for multiple file hosts"
authors = ["Jacob B <[email protected]>"]
readme = "README.md"