1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[ie/tbs] Fix truTV support (#9683)

Closes #3400
Authored by: ischmidt20, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
ischmidt20
2025-07-24 18:35:48 -04:00
committed by GitHub
parent afaf60d9fd
commit 0adeb1e54b
4 changed files with 97 additions and 93 deletions

View File

@@ -251,6 +251,11 @@ class TurnerBaseIE(AdobePassIE):
'end_time': start_time + chapter_duration,
})
if is_live:
for f in formats:
# Prevent ffmpeg from adding its own http headers or else we get HTTP Error 403
f['downloader_options'] = {'ffmpeg_args': ['-seekable', '0', '-icy', '0']}
return {
'formats': formats,
'chapters': chapters,