Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: 401 Unauthorized on all downloads (Sendvid)

NTFSvolume9d4fd6215e0e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 26bf404ce..6c6b6a4f2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -58,6 +58,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Infinite pagination (Rumble)
+- '401 Unauthorized' on all downloads (SendVid)
- Do not download placeholder "unavailable" videos (SendVid)
- Download of encrypted (AES-128) segments with no IV (HLS)
- Attachments detection (Discourse)
diff --git a/cyberdrop_dl/crawlers/sendvid.py b/cyberdrop_dl/crawlers/sendvid.py
index 7ed3db8e1..55b2022c7 100644
--- a/cyberdrop_dl/crawlers/sendvid.py
+++ b/cyberdrop_dl/crawlers/sendvid.py
@@ -65,7 +65,7 @@ class SendVidCrawler(Crawler):
title = css.select_text(soup, Selector.TITLE)
src = self.parse_url(css.select(soup, Selector.VIDEO_SRC, "src"))
- if not all(map(src.query.get, required := ("validfrom", "validto", "rate", "hash"))):
+ if not all(map(src.query.get, required := ("validfrom", "validto", "hash"))):
msg = f"URL {src} is missing some of the required parameters: {required}"
raise ScrapeError(401, msg)