]> jfr.im git - yt-dlp.git/commit
[rh:websockets] Migrate websockets to networking framework (#7720)
authorcoletdjnz <redacted>
Mon, 20 Nov 2023 08:04:04 +0000 (08:04 +0000)
committerGitHub <redacted>
Mon, 20 Nov 2023 08:04:04 +0000 (08:04 +0000)
commitccfd70f4c24b579c72123ca76ab50164f8f122b7
tree51641546cbe1365db94c491661e6d946ee4772ee
parent45d82be65f71bb05506bd55376c6fdb36bc54142
[rh:websockets] Migrate websockets to networking framework (#7720)

* Adds a basic WebSocket framework
* Introduces new minimum `websockets` version of 12.0
* Deprecates `WebSocketsWrapper`

Fixes https://github.com/yt-dlp/yt-dlp/issues/8439

Authored by: coletdjnz
14 files changed:
requirements.txt
test/conftest.py
test/test_networking.py
test/test_socks.py
test/test_websockets.py [new file with mode: 0644]
yt_dlp/YoutubeDL.py
yt_dlp/downloader/niconico.py
yt_dlp/extractor/fc2.py
yt_dlp/extractor/niconico.py
yt_dlp/networking/__init__.py
yt_dlp/networking/_websockets.py [new file with mode: 0644]
yt_dlp/networking/websocket.py [new file with mode: 0644]
yt_dlp/utils/_legacy.py
yt_dlp/utils/_utils.py