Sort formats
This commit is contained in:
parent
56c6e3ec6c
commit
32064a0b72
@ -2508,7 +2508,10 @@ class InfoExtractor(object):
|
|||||||
'subtitles': {},
|
'subtitles': {},
|
||||||
}
|
}
|
||||||
info_dict['formats'] = self._extract_url_list_formats(
|
info_dict['formats'] = self._extract_url_list_formats(
|
||||||
clappr_data.get('sources', [clappr_data.get('source')]), video_id=video_id, m3u8_id=m3u8_id, mpd_id=mpd_id, rtmp_params=rtmp_params, base_url=base_url)
|
clappr_data.get('sources', [clappr_data.get('source')]),
|
||||||
|
video_id=video_id, m3u8_id=m3u8_id, mpd_id=mpd_id, rtmp_params=rtmp_params, base_url=base_url
|
||||||
|
)
|
||||||
|
self._sort_formats(info_dict['formats'])
|
||||||
|
|
||||||
thumbnail = clappr_data.get('poster')
|
thumbnail = clappr_data.get('poster')
|
||||||
if thumbnail:
|
if thumbnail:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user