mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-06 14:58:21 -04:00
Option --wait-for-video
to wait for scheduled streams
This commit is contained in:
@@ -2600,10 +2600,21 @@ class MaxDownloadsReached(DownloadCancelled):
|
||||
msg = 'Maximum number of downloads reached, stopping due to --max-downloads'
|
||||
|
||||
|
||||
class ThrottledDownload(YoutubeDLError):
|
||||
class ReExtractInfo(YoutubeDLError):
|
||||
""" Video info needs to be re-extracted. """
|
||||
|
||||
def __init__(self, msg, expected=False):
|
||||
super().__init__(msg)
|
||||
self.expected = expected
|
||||
|
||||
|
||||
class ThrottledDownload(ReExtractInfo):
|
||||
""" Download speed below --throttled-rate. """
|
||||
msg = 'The download speed is below throttle limit'
|
||||
|
||||
def __init__(self, msg):
|
||||
super().__init__(msg, expected=False)
|
||||
|
||||
|
||||
class UnavailableVideoError(YoutubeDLError):
|
||||
"""Unavailable Format exception.
|
||||
|
Reference in New Issue
Block a user