mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 22:35:21 +00: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']
|
||||
|
||||
formats = self._extract_m3u8_formats(
|
||||
self._proto_relative_url(video_data.get('url')
|
||||
or video_data['video_resources'][0]['manifest']['url']),
|
||||
self._proto_relative_url(traverse_obj(video_data, 'url', ('video_resources', 0, 'manifest', 'url'))),
|
||||
video_id, 'mp4', 'm3u8_native')
|
||||
self._sort_formats(formats)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user