mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	@@ -5258,6 +5258,7 @@ class Config:
 | 
			
		||||
 | 
			
		||||
class WebSocketsWrapper():
 | 
			
		||||
    """Wraps websockets module to use in non-async scopes"""
 | 
			
		||||
    pool = None
 | 
			
		||||
 | 
			
		||||
    def __init__(self, url, headers=None, connect=True):
 | 
			
		||||
        self.loop = asyncio.events.new_event_loop()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user