mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-06-10 10:50:49 +00:00
Disable apply_mask C implementation
This commit is contained in:
parent
0423915e24
commit
b4e0d5ac16
|
@ -47,6 +47,12 @@ urllib3_version = tuple(int_or_none(x, default=0) for x in urllib3.__version__.s
|
|||
if urllib3_version and urllib3_version >= (1, 26, 17):
|
||||
urllib3_supported = True
|
||||
|
||||
|
||||
# Disable apply_mask C implementation
|
||||
import websockets.frames
|
||||
from websockets.utils import apply_mask
|
||||
websockets.frames.apply_mask = apply_mask
|
||||
|
||||
import websockets.sync.client
|
||||
from websockets.uri import parse_uri
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user