Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: check complete by referer (#1764)

NTFSvolume74140baff066
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 33f5dba61..d73c481ae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,12 @@ All notable changes to this project will be documented here. For more details, v
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [9.5.1] - 2026-05-03
+
+### Fixed
+
+- Some previously downloaded URLs not being skipped
+
## [9.5.0] - 2026-05-02
### Changed
@@ -38,7 +44,7 @@ CLI Only options:
- `--completed-after`
- `--completed-before`
-- `--download`, `--retry-all`, `--retry-failed`, `--retry-maintenance` options wll be removed and replaced with dedicated subcommands
+- `--download`, `--retry-all`, `--retry-failed`, `--retry-maintenance` options will be removed and replaced with dedicated subcommands
Download Options:
diff --git a/cyberdrop_dl/database/tables/history.py b/cyberdrop_dl/database/tables/history.py
index 1db6f5653..23b4e2b92 100644
--- a/cyberdrop_dl/database/tables/history.py
+++ b/cyberdrop_dl/database/tables/history.py
@@ -122,7 +122,7 @@ class HistoryTable:
params = (str(referer),)
else:
query = "SELECT 1 FROM media WHERE domain = ? AND referer = ? AND completed != 0 LIMIT 1"
- params = str(referer), domain
+ params = domain, str(referer)
cursor = await self.db_conn.execute(query, params)
return await cursor.fetchone() is not None
diff --git a/cyberdrop_dl/database/tables/schema.py b/cyberdrop_dl/database/tables/schema.py
index e57f925e7..8d6269d0b 100644
--- a/cyberdrop_dl/database/tables/schema.py
+++ b/cyberdrop_dl/database/tables/schema.py
@@ -27,7 +27,7 @@ class Version(NamedTuple):
return ".".join(map(str, self))
-CURRENT_APP_SCHEMA_VERSION = Version(9, 4, 2)
+CURRENT_APP_SCHEMA_VERSION = Version(9, 5, 1)
logger = logging.getLogger(__name__)
diff --git a/pyproject.toml b/pyproject.toml
index f8487dc97..1b29b0e85 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -51,7 +51,7 @@ license-files = ["LICENSE"]
maintainers = [{name = "NTFSvolume", email = "[email protected]"}]
readme = "README.md"
requires-python = ">=3.11"
-version = "9.5.0"
+version = "9.5.1"
[project.optional-dependencies]
apprise = [
diff --git a/uv.lock b/uv.lock
index 29612b4b8..9b76dc28b 100644
--- a/uv.lock
+++ b/uv.lock
@@ -725,7 +725,7 @@ wheels = [
[[package]]
name = "cyberdrop-dl-patched"
-version = "9.5.0"
+version = "9.5.1"
source = { editable = "." }
dependencies = [
{ name = "aiodns", marker = "sys_platform != 'android' and sys_platform != 'win32'" },