Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: update unsupported

NTFSvolume201c9c1ed7fd
diff --git a/cyberdrop_dl/utils/database/tables/history_table.py b/cyberdrop_dl/utils/database/tables/history_table.py
index 53e4940d3..4a312bdcc 100644
--- a/cyberdrop_dl/utils/database/tables/history_table.py
+++ b/cyberdrop_dl/utils/database/tables/history_table.py
@@ -47,7 +47,9 @@ class HistoryTable:
async def update_previously_unsupported(self, crawlers: dict[str, Crawler]) -> None:
"""Update old `no_crawler` entries that are now supported."""
- domains_to_update = [(c.domain, f"{c.primary_base_domain}%") for c in crawlers.values() if c.update_unsupported]
+ domains_to_update = [
+ (c.domain, f"http%{c.primary_base_domain.host}%") for c in crawlers.values() if c.update_unsupported
+ ]
if not domains_to_update:
return
referers = [(d[1],) for d in domains_to_update]