diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-23 01:33:36 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-23 04:25:55 +0530 |
commit | a30a6ed3e49a0e037af6d5e26ecef3f3eba67d33 (patch) | |
tree | 6be69eb270b40234478fed392140c631ec1e6563 /yt_dlp/extractor/youtube.py | |
parent | 65d151d58f6c01f15aecfb2bef81b2a754295b7f (diff) | |
download | hypervideo-pre-a30a6ed3e49a0e037af6d5e26ecef3f3eba67d33.tar.lz hypervideo-pre-a30a6ed3e49a0e037af6d5e26ecef3f3eba67d33.tar.xz hypervideo-pre-a30a6ed3e49a0e037af6d5e26ecef3f3eba67d33.zip |
[youtube:tab] Add `approximate_date` extractor-arg
Diffstat (limited to 'yt_dlp/extractor/youtube.py')
-rw-r--r-- | yt_dlp/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index 4d9815eb3..fbf9581c6 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -844,7 +844,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor): 'uploader': uploader, 'channel_id': channel_id, 'thumbnails': thumbnails, - # 'upload_date': strftime_or_none(timestamp, '%Y%m%d'), + 'upload_date': strftime_or_none(timestamp, '%Y%m%d') if self._configuration_arg('approximate_date', ie_key='youtubetab') else None, 'live_status': ('is_upcoming' if scheduled_timestamp is not None else 'was_live' if 'streamed' in time_text.lower() else 'is_live' if overlay_style is not None and overlay_style == 'LIVE' or 'live now' in badges |