aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorcoletdjnz <coletdjnz@protonmail.com>2022-09-01 10:02:28 +0000
committerGitHub <noreply@github.com>2022-09-01 10:02:28 +0000
commit1ff88b7aec76bc8396c58f4757e2c08b20e5533e (patch)
tree46379cd1b1e28e34b31c98d30c926162709eac26 /yt_dlp/options.py
parent825d3ce386e66ac0c73e41e352d84053f9f0e624 (diff)
[extractor/youtube] Add `no-youtube-prefer-utc-upload-date` compat option (#4771)
This option reverts https://github.com/yt-dlp/yt-dlp/commit/992f9a730b49fd36fc422be8d802f98ebcdce418 and https://github.com/yt-dlp/yt-dlp/commit/17322130a954577bb03b833d5c435638e51e19f2 to prefer the non-UTC upload date in microformats. Authored by: coletdjnz, pukkandan
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index da6b1d25b..0fbf1f028 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -444,6 +444,7 @@ def create_parser():
'multistreams', 'no-live-chat', 'playlist-index', 'list-formats', 'no-direct-merge',
'no-youtube-channel-redirect', 'no-youtube-unavailable-videos', 'no-attach-info-json', 'embed-metadata',
'embed-thumbnail-atomicparsley', 'seperate-video-versions', 'no-clean-infojson', 'no-keep-subs', 'no-certifi',
+ 'no-youtube-prefer-utc-upload-date'
}, 'aliases': {
'youtube-dl': ['all', '-multistreams'],
'youtube-dlc': ['all', '-no-youtube-channel-redirect', '-no-live-chat'],