Improve --clean-infojson
It should not removes fields that may be needed for `--load-infojson`. Eg: `_ffmpeg_args`, `_has_drm`
This commit is contained in:
parent
4877f9055c
commit
0a5a191a2a
7 changed files with 21 additions and 15 deletions
|
|
@ -141,7 +141,7 @@ class TurnerBaseIE(AdobePassIE):
|
|||
m3u8_id=format_id or 'hls', fatal=False)
|
||||
if '/secure/' in video_url and '?hdnea=' in video_url:
|
||||
for f in m3u8_formats:
|
||||
f['_ffmpeg_args'] = ['-seekable', '0']
|
||||
f['downloader_options'] = {'ffmpeg_args': ['-seekable', '0']}
|
||||
formats.extend(m3u8_formats)
|
||||
elif ext == 'f4m':
|
||||
formats.extend(self._extract_f4m_formats(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue