mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 22:55:18 +00:00 
			
		
		
		
	[extractor/MLBTV] Detect live streams
This commit is contained in:
		| @@ -343,6 +343,7 @@ class MLBTVIE(InfoExtractor): | ||||
|         return { | ||||
|             'id': video_id, | ||||
|             'title': traverse_obj(airings, (..., 'titles', 0, 'episodeName'), get_all=False), | ||||
|             'is_live': traverse_obj(airings, (..., 'mediaConfig', 'productType'), get_all=False) == 'LIVE', | ||||
|             'formats': formats, | ||||
|             'subtitles': subtitles, | ||||
|             'http_headers': {'Authorization': f'Bearer {self._access_token}'}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan