aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-01-19 19:05:57 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-01-19 19:07:40 +0530
commit66f7c6a3e0f8e5e1f57c27981d851e10882faa64 (patch)
tree0775708671933ac3067ed6d6dc4edc9cdbb51cd5
parentbaf599effa414fe927211a2b334365758d88c32b (diff)
downloadhypervideo-pre-66f7c6a3e0f8e5e1f57c27981d851e10882faa64.tar.lz
hypervideo-pre-66f7c6a3e0f8e5e1f57c27981d851e10882faa64.tar.xz
hypervideo-pre-66f7c6a3e0f8e5e1f57c27981d851e10882faa64.zip
[youtube] Do not return `upload_date` for playlists
Closes #2349 Partially reverts #1018 Re-opens #1883
-rw-r--r--yt_dlp/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py
index fd0ede189..d8b4ad258 100644
--- a/yt_dlp/extractor/youtube.py
+++ b/yt_dlp/extractor/youtube.py
@@ -839,7 +839,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'),
'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