mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 23:26:53 +01:00
parent
3b9d9f4374
commit
abfecb7bc1
@ -5258,6 +5258,7 @@ def parse_args(self):
|
|||||||
|
|
||||||
class WebSocketsWrapper():
|
class WebSocketsWrapper():
|
||||||
"""Wraps websockets module to use in non-async scopes"""
|
"""Wraps websockets module to use in non-async scopes"""
|
||||||
|
pool = None
|
||||||
|
|
||||||
def __init__(self, url, headers=None, connect=True):
|
def __init__(self, url, headers=None, connect=True):
|
||||||
self.loop = asyncio.events.new_event_loop()
|
self.loop = asyncio.events.new_event_loop()
|
||||||
|
Loading…
Reference in New Issue
Block a user