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
|
|
@ -125,7 +125,7 @@ class RadikoBaseIE(InfoExtractor):
|
|||
# Prioritize live radio vs playback based on extractor
|
||||
sf['preference'] = 100 if is_onair else -100
|
||||
if not is_onair and url_attrib['timefree'] == '1' and time_to_skip:
|
||||
sf['_ffmpeg_args'] = ['-ss', time_to_skip]
|
||||
sf['downloader_options'] = {'ffmpeg_args': ['-ss', time_to_skip]}
|
||||
formats.extend(subformats)
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue