mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-05 01:44:33 +01:00
[vgtv] Avoid duplicate format_id
This commit is contained in:
parent
32fffff2cc
commit
f2e0056579
@ -103,11 +103,14 @@ class VGTVIE(InfoExtractor):
|
|||||||
|
|
||||||
hls_url = streams.get('hls')
|
hls_url = streams.get('hls')
|
||||||
if hls_url:
|
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')
|
hds_url = streams.get('hds')
|
||||||
if hds_url:
|
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')
|
mp4_url = streams.get('mp4')
|
||||||
if mp4_url:
|
if mp4_url:
|
||||||
|
Loading…
Reference in New Issue
Block a user