aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-06-21 04:31:39 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-06-21 06:10:39 +0530
commit93b39cdbd9dcf351bfa0c4ee252805b4617fdca9 (patch)
tree503c473c99d8930182704adb98d007382ac327e4 /yt_dlp/options.py
parent97afb093d4cbe5df889145afa5f9ede4535e93e4 (diff)
downloadhypervideo-pre-93b39cdbd9dcf351bfa0c4ee252805b4617fdca9.tar.lz
hypervideo-pre-93b39cdbd9dcf351bfa0c4ee252805b4617fdca9.tar.xz
hypervideo-pre-93b39cdbd9dcf351bfa0c4ee252805b4617fdca9.zip
Add `--compat-option playlist-match-filter`
Closes #6073
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index fecc27403..1c8d73f16 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -467,15 +467,15 @@ def create_parser():
callback_kwargs={
'allowed_values': {
'filename', 'filename-sanitization', 'format-sort', 'abort-on-error', 'format-spec', 'no-playlist-metafiles',
- 'multistreams', 'no-live-chat', 'playlist-index', 'list-formats', 'no-direct-merge',
+ 'multistreams', 'no-live-chat', 'playlist-index', 'list-formats', 'no-direct-merge', 'playlist-match-filter',
'no-attach-info-json', 'embed-thumbnail-atomicparsley', 'no-external-downloader-progress',
'embed-metadata', 'seperate-video-versions', 'no-clean-infojson', 'no-keep-subs', 'no-certifi',
'no-youtube-channel-redirect', 'no-youtube-unavailable-videos', 'no-youtube-prefer-utc-upload-date',
}, 'aliases': {
- 'youtube-dl': ['all', '-multistreams'],
- 'youtube-dlc': ['all', '-no-youtube-channel-redirect', '-no-live-chat'],
+ 'youtube-dl': ['all', '-multistreams', '-playlist-match-filter'],
+ 'youtube-dlc': ['all', '-no-youtube-channel-redirect', '-no-live-chat', '-playlist-match-filter'],
'2021': ['2022', 'no-certifi', 'filename-sanitization', 'no-youtube-prefer-utc-upload-date'],
- '2022': ['no-external-downloader-progress'],
+ '2022': ['no-external-downloader-progress', 'playlist-match-filter'],
}
}, help=(
'Options that can help keep compatibility with youtube-dl or youtube-dlc '