From 66f7c6a3e0f8e5e1f57c27981d851e10882faa64 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Wed, 19 Jan 2022 19:05:57 +0530 Subject: [PATCH] [youtube] Do not return `upload_date` for playlists Closes #2349 Partially reverts #1018 Re-opens #1883 --- yt_dlp/extractor/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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