1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 07:56:49 +00:00

Update youtube_dl/extractor/tubitv.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
wfaulk 2023-05-11 14:13:50 -04:00 committed by GitHub
parent 0f8938bd1e
commit 92d09b249d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)