diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f4ed25..62bf08a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Corrected the short video resolution in the UI (#366) - Check for empty playlists after filtering, and after downloading videos (#375) +- Unlisted videos must also be included inside the ZIM (#379) ## [3.2.1] - 2024-11-01 diff --git a/scraper/src/youtube2zim/youtube.py b/scraper/src/youtube2zim/youtube.py index 9f7ede3..c78f5bc 100644 --- a/scraper/src/youtube2zim/youtube.py +++ b/scraper/src/youtube2zim/youtube.py @@ -332,7 +332,7 @@ def skip_deleted_videos(item): def skip_non_public_videos(item): """filter func to filter-out non-public videos""" - return item["status"]["privacyStatus"] == "public" + return item["status"]["privacyStatus"] in ("public", "unlisted") def skip_outofrange_videos(date_range, item):