mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 04:30:10 +09:00
Update youtube_dl/extractor/tubitv.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
0f8938bd1e
commit
92d09b249d
@ -68,8 +68,7 @@ class TubiTvIE(InfoExtractor):
|
|||||||
title = video_data['title']
|
title = video_data['title']
|
||||||
|
|
||||||
formats = self._extract_m3u8_formats(
|
formats = self._extract_m3u8_formats(
|
||||||
self._proto_relative_url(video_data.get('url')
|
self._proto_relative_url(traverse_obj(video_data, 'url', ('video_resources', 0, 'manifest', 'url'))),
|
||||||
or video_data['video_resources'][0]['manifest']['url']),
|
|
||||||
video_id, 'mp4', 'm3u8_native')
|
video_id, 'mp4', 'm3u8_native')
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user