1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-21 08:55:19 +00:00

[utils] WebSocketsWrapper: Allow omitting __enter__ invocation (#3187)

Authored by: Lesmiscore
This commit is contained in:
Lesmiscore (Naoya Ozaki)
2022-03-25 17:24:39 +09:00
committed by GitHub
parent b1a7cd056a
commit 3cea3edd1a
2 changed files with 5 additions and 3 deletions

View File

@@ -212,7 +212,6 @@ class FC2LiveIE(InfoExtractor):
'Accept': '*/*',
'User-Agent': std_headers['User-Agent'],
})
ws.__enter__()
self.write_debug('[debug] Sending HLS server request')