1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-08 09:15:23 +00:00

[youtube] Show if video was a live stream in info

This commit is contained in:
pukkandan
2021-02-22 03:11:24 +05:30
parent e094cec18c
commit f76ede8ee4
3 changed files with 4 additions and 0 deletions

View File

@@ -1757,6 +1757,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'tags': keywords,
'is_live': is_live,
'playable_in_embed': playability_status.get('playableInEmbed'),
'was_live': video_details.get('isLiveContent')
}
pctr = try_get(