mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[dependencies] Create module with all dependency imports
This commit is contained in:
		| @@ -2,7 +2,7 @@ import itertools | ||||
| import re | ||||
| 
 | ||||
| from .common import InfoExtractor | ||||
| from ..downloader.websocket import has_websockets | ||||
| from ..dependencies import websockets | ||||
| from ..utils import ( | ||||
|     clean_html, | ||||
|     ExtractorError, | ||||
| @@ -161,7 +161,7 @@ class TwitCastingIE(InfoExtractor): | ||||
|                     note='Downloading source quality m3u8', | ||||
|                     headers=self._M3U8_HEADERS, fatal=False)) | ||||
| 
 | ||||
|             if has_websockets: | ||||
|             if websockets: | ||||
|                 qq = qualities(['base', 'mobilesource', 'main']) | ||||
|                 streams = traverse_obj(stream_server_data, ('llfmp4', 'streams')) or {} | ||||
|                 for mode, ws_url in streams.items(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan