aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKyraminol Endyeran <[email protected]>2022-07-12 01:35:40 +0200
committerGitHub <[email protected]>2022-07-12 00:35:40 +0100
commit5f5c127ece74e52aa5b49b6d2941cc0f848d3c36 (patch)
tree20684252e8f109325d40d5bf9dd8e128f743af81
parent090acd58c1d810fbef1bac08d70bbfad9c0a7504 (diff)
downloadyoutube-dl-5f5c127ece74e52aa5b49b6d2941cc0f848d3c36.tar.gz
youtube-dl-5f5c127ece74e52aa5b49b6d2941cc0f848d3c36.zip
[VVVVID] Support video/dash types (#31060)
Resolves #31030.
-rw-r--r--youtube_dl/extractor/vvvvid.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vvvvid.py b/youtube_dl/extractor/vvvvid.py
index bc196f8a0..6a0d4e8f0 100644
--- a/youtube_dl/extractor/vvvvid.py
+++ b/youtube_dl/extractor/vvvvid.py
@@ -65,6 +65,18 @@ class VVVVIDIE(InfoExtractor):
'skip_download': True,
},
}, {
+ # video_type == 'video/dash'
+ 'url': 'https://www.vvvvid.it/show/683/made-in-abyss/1542/693786/nanachi',
+ 'info_dict': {
+ 'id': '693786',
+ 'ext': 'mp4',
+ 'title': 'Nanachi',
+ },
+ 'params': {
+ 'skip_download': True,
+ 'format': 'mp4',
+ },
+ }, {
'url': 'https://www.vvvvid.it/show/434/perche-dovrei-guardarlo-di-dario-moccia/437/489048',
'only_matching': True
}]
@@ -205,6 +217,9 @@ class VVVVIDIE(InfoExtractor):
})
is_youtube = True
break
+ elif video_type == 'video/dash':
+ formats.extend(self._extract_m3u8_formats(
+ embed_code, video_id, 'mp4', m3u8_id='hls', fatal=False))
else:
formats.extend(self._extract_wowza_formats(
'http://sb.top-ix.org/videomg/_definst_/mp4:%s/playlist.m3u8' % embed_code, video_id))