1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-18 14:08:54 +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

@@ -280,6 +280,8 @@ class InfoExtractor(object):
tags: A list of tags assigned to the video, e.g. ["sweden", "pop music"]
is_live: True, False, or None (=unknown). Whether this video is a
live stream that goes on instead of a fixed-length video.
was_live: True, False, or None (=unknown). Whether this video was
originally a live stream.
start_time: Time in seconds where the reproduction should start, as
specified in the URL.
end_time: Time in seconds where the reproduction should end, as