Skip to content

Commit

Permalink
[CI] auto update yt_dlp to upstream commit 6f9e6537434562d513d0c9b68c…
Browse files Browse the repository at this point in the history
…ed8a61ade94a64
  • Loading branch information
github-actions[bot] committed Aug 21, 2024
1 parent 88944ee commit 94c3c74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lib/yt_dlp/networking/_websockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@
# 2: "AttributeError: 'ClientConnection' object has no attribute 'recv_events_exc'. Did you mean: 'recv_events'?"
import websockets.sync.connection # isort: split
with contextlib.suppress(Exception):
# > 12.0
websockets.sync.connection.Connection.recv_exc = None
# 12.0
websockets.sync.connection.Connection.recv_events_exc = None


class WebsocketsResponseAdapter(WebSocketResponse):
Expand Down Expand Up @@ -162,7 +159,7 @@ def _send(self, request):
additional_headers=headers,
open_timeout=timeout,
user_agent_header=None,
ssl_context=ssl_ctx if wsuri.secure else None,
ssl=ssl_ctx if wsuri.secure else None,
close_timeout=0, # not ideal, but prevents yt-dlp hanging
)
return WebsocketsResponseAdapter(conn, url=request.url)
Expand Down
2 changes: 1 addition & 1 deletion lib/yt_dlp_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f0bb28504c8c2b75ee3e5796aed50de2a7f90a1b
6f9e6537434562d513d0c9b68ced8a61ade94a64

0 comments on commit 94c3c74

Please sign in to comment.