]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vgtv] Avoid duplicate format_id
authorSergey M․ <dstftw@gmail.com>
Sat, 9 May 2015 15:23:09 +0000 (21:23 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 9 May 2015 15:23:09 +0000 (21:23 +0600)
youtube_dl/extractor/vgtv.py

index eb2652fb16cdc5b757e122f9dbc5584fa3f6369b..e6ee1e4715efc5d47dd3f9aa32d6559a5737a8ea 100644 (file)
@@ -103,11 +103,14 @@ class VGTVIE(InfoExtractor):
 
         hls_url = streams.get('hls')
         if hls_url:
-            formats.extend(self._extract_m3u8_formats(hls_url, video_id, 'mp4'))
+            formats.extend(self._extract_m3u8_formats(
+                hls_url, video_id, 'mp4', m3u8_id='hls'))
 
         hds_url = streams.get('hds')
         if hds_url:
-            formats.extend(self._extract_f4m_formats(hds_url + '?hdcore=3.2.0&plugin=aasp-3.2.0.77.18', video_id))
+            formats.extend(self._extract_f4m_formats(
+                hds_url + '?hdcore=3.2.0&plugin=aasp-3.2.0.77.18',
+                video_id, f4m_id='hds'))
 
         mp4_url = streams.get('mp4')
         if mp4_url: