mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-26 05:05:54 +01:00
[youtube] Do not return upload_date
for playlists
Closes #2349 Partially reverts #1018 Re-opens #1883
This commit is contained in:
parent
baf599effa
commit
66f7c6a3e0
@ -839,7 +839,7 @@ def _extract_video(self, renderer):
|
|||||||
'uploader': uploader,
|
'uploader': uploader,
|
||||||
'channel_id': channel_id,
|
'channel_id': channel_id,
|
||||||
'thumbnails': thumbnails,
|
'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
|
'live_status': ('is_upcoming' if scheduled_timestamp is not None
|
||||||
else 'was_live' if 'streamed' in time_text.lower()
|
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
|
else 'is_live' if overlay_style is not None and overlay_style == 'LIVE' or 'live now' in badges
|
||||||
|
Loading…
Reference in New Issue
Block a user