Update youtube_dl/extractor/tubitv.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
pull/31525/head
wfaulk 2 years ago committed by GitHub
parent 0f8938bd1e
commit 92d09b249d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save