Update youtube_dl/extractor/videocdn.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Moritz Bunse 2023-01-21 20:28:53 +01:00 committed by GitHub
parent 5d37e5e19d
commit 47390b1355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,8 +51,7 @@ class VideoCdnIE(InfoExtractor):
formats = []
if manifest_url and determine_ext(manifest_url) == 'm3u8':
formats.extend(self._extract_m3u8_formats(
compat_urlparse.urljoin(url, manifest_url),
video_id, 'mp4',
manifest_url, video_id, 'mp4',
entry_protocol='m3u8_native', m3u8_id='m3u8'))
self._sort_formats(formats)