aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-09 21:23:09 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-09 21:23:09 +0600
commitf2e0056579ac507b776ce2c86b5281fc28bbc275 (patch)
tree28a37ac9ed256508ab1b181169d101ec5f91c823
parent32fffff2ccc044c639c8723281981aa347423762 (diff)
[vgtv] Avoid duplicate format_id
-rw-r--r--youtube_dl/extractor/vgtv.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vgtv.py b/youtube_dl/extractor/vgtv.py
index eb2652fb1..e6ee1e471 100644
--- a/youtube_dl/extractor/vgtv.py
+++ b/youtube_dl/extractor/vgtv.py
@@ -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: