]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ceskatelevize] Prefix format ids
authorSergey M․ <dstftw@gmail.com>
Wed, 15 Feb 2017 16:38:00 +0000 (23:38 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 15 Feb 2017 16:38:00 +0000 (23:38 +0700)
youtube_dl/extractor/ceskatelevize.py

index e08bf264cb4b576cae3e5cdf5c172d67bd28a252..1b16e5aaa9bf58c7611da3e2404b2aa22e9d134a 100644 (file)
@@ -162,10 +162,10 @@ class CeskaTelevizeIE(InfoExtractor):
                         formats.extend(self._extract_m3u8_formats(
                             stream_url, playlist_id, 'mp4',
                             entry_protocol='m3u8' if is_live else 'm3u8_native',
-                            fatal=False))
+                            m3u8_id='hls', fatal=False))
                     else:
                         formats.extend(self._extract_mpd_formats(
-                            stream_url, playlist_id, fatal=False))
+                            stream_url, playlist_id, mpd_id='dash', fatal=False))
 
                 if user_agent and len(entries) == playlist_len:
                     entries[num]['formats'].extend(formats)