mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-24 11:18:42 +00:00
[dash,youtube] Download live from start to end (#888)
* Add option `--live-from-start` to enable downloading live videos from start * Add key `is_from_start` in formats to identify formats (of live videos) that downloads from start * [dash] Create protocol `http_dash_segments_generator` that allows a function to be passed instead of fragments * [fragment] Allow multiple live dash formats to download simultaneously * [youtube] Implement fragment re-fetching for the live dash formats * [youtube] Re-extract dash manifest every 5 hours (manifest expires in 6hrs) * [postprocessor/ffmpeg] Add `FFmpegFixupDuplicateMoovPP` to fixup duplicated moov atoms Known issue: Ctrl+C doesn't work on Windows when downloading multiple formats Closes #1521 Authored by: nao20010128nao, pukkandan
This commit is contained in:
committed by
GitHub
parent
c031b0414c
commit
adbc4ec4bb
@@ -2631,12 +2631,6 @@ class LazyList(collections.abc.Sequence):
|
||||
def __copy__(self):
|
||||
return type(self)(self.__iterable, reverse=self.__reversed, _cache=self.__cache)
|
||||
|
||||
def __deepcopy__(self, memo):
|
||||
# FIXME: This is actually just a shallow copy
|
||||
id_ = id(self)
|
||||
memo[id_] = self.__copy__()
|
||||
return memo[id_]
|
||||
|
||||
def __repr__(self):
|
||||
# repr and str should mimic a list. So we exhaust the iterable
|
||||
return repr(self.exhaust())
|
||||
|
||||
Reference in New Issue
Block a user