mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 17:22:31 +01:00
[adultswim] Don't default to the native m3u8 downloader (closes #7243)
Some of the streams are encrypted, which is not supported .
This commit is contained in:
parent
44d6dd08b2
commit
8c3533ba97
@ -183,7 +183,7 @@ def _real_extract(self, url):
|
|||||||
media_url = file_el.text
|
media_url = file_el.text
|
||||||
if determine_ext(media_url) == 'm3u8':
|
if determine_ext(media_url) == 'm3u8':
|
||||||
formats.extend(self._extract_m3u8_formats(
|
formats.extend(self._extract_m3u8_formats(
|
||||||
media_url, segment_title, 'mp4', 'm3u8_native', preference=0, m3u8_id='hls'))
|
media_url, segment_title, 'mp4', preference=0, m3u8_id='hls'))
|
||||||
else:
|
else:
|
||||||
formats.append({
|
formats.append({
|
||||||
'format_id': '%s_%s' % (bitrate, ftype),
|
'format_id': '%s_%s' % (bitrate, ftype),
|
||||||
|
Loading…
Reference in New Issue
Block a user