aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/networking/_websockets.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-09-27 17:46:22 -0500
committerGitHub <noreply@github.com>2024-09-27 22:46:22 +0000
commitc6387abc1af9842bb0541288a5610abba9b1ab51 (patch)
tree8077c4650c91995d568d2c0fad256db317c4d46e /yt_dlp/networking/_websockets.py
parentcca534cd9e6850c70244f225a4a1895ef4bcdbec (diff)
[cleanup] Misc (#10807)
Closes #10751, Closes #10769, Closes #10791 Authored by: bashonly, Codenade, pzhlkj6612, seproDev, coletdjnz, grqz, Grub4K Co-authored-by: Codenade <amadeus.dorian04@gmail.com> Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com> Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com> Co-authored-by: coletdjnz <coletdjnz@protonmail.com> Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com> Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
Diffstat (limited to 'yt_dlp/networking/_websockets.py')
-rw-r--r--yt_dlp/networking/_websockets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/networking/_websockets.py b/yt_dlp/networking/_websockets.py
index 21b765b91..ec55567da 100644
--- a/yt_dlp/networking/_websockets.py
+++ b/yt_dlp/networking/_websockets.py
@@ -33,8 +33,8 @@ if not websockets:
import websockets.version
websockets_version = tuple(map(int_or_none, websockets.version.version.split('.')))
-if websockets_version < (12, 0):
- raise ImportError('Only websockets>=12.0 is supported')
+if websockets_version < (13, 0):
+ raise ImportError('Only websockets>=13.0 is supported')
import websockets.sync.client
from websockets.uri import parse_uri