mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[youtube,twitch] Allow waiting for channels to become live
Closes #2597
This commit is contained in:
		| @@ -1072,6 +1072,14 @@ class GeoRestrictedError(ExtractorError): | ||||
|         self.countries = countries | ||||
| 
 | ||||
| 
 | ||||
| class UserNotLive(ExtractorError): | ||||
|     """Error when a channel/user is not live""" | ||||
| 
 | ||||
|     def __init__(self, msg=None, **kwargs): | ||||
|         kwargs['expected'] = True | ||||
|         super().__init__(msg or 'The channel is not currently live', **kwargs) | ||||
| 
 | ||||
| 
 | ||||
| class DownloadError(YoutubeDLError): | ||||
|     """Download Error exception. | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan