1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-02-06 22:17:17 +00:00

[networking] Fix POST requests with zero-length payloads (#7648)

Bugfix for 227bf1a33b

Authored by: bashonly
This commit is contained in:
bashonly
2023-07-20 08:23:30 -05:00
committed by GitHub
parent 613dbce177
commit 71baa490eb
4 changed files with 14 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ class EttuTvIE(InfoExtractor):
'device': 'desktop',
})
stream_response = self._download_json(player_settings['streamAccess'], video_id, data={})
stream_response = self._download_json(player_settings['streamAccess'], video_id, data=b'')
formats, subtitles = self._extract_m3u8_formats_and_subtitles(
stream_response['data']['stream'], video_id, 'mp4')