File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class UMGDeIE(InfoExtractor):
28
28
def _real_extract (self , url ):
29
29
video_id = self ._match_id (url )
30
30
video_data = self ._download_json (
31
- 'https://api .universal-music.de/graphql ' ,
31
+ 'https://graphql .universal-music.de/' ,
32
32
video_id , query = {
33
33
'query' : '''{
34
34
universalMusic(channel:16) {
@@ -56,11 +56,9 @@ def _real_extract(self, url):
56
56
formats = []
57
57
58
58
def add_m3u8_format (format_id ):
59
- m3u8_formats = self ._extract_m3u8_formats (
59
+ formats . extend ( self ._extract_m3u8_formats (
60
60
hls_url_template % format_id , video_id , 'mp4' ,
61
- 'm3u8_native' , m3u8_id = 'hls' , fatal = 'False' )
62
- if m3u8_formats and m3u8_formats [0 ].get ('height' ):
63
- formats .extend (m3u8_formats )
61
+ 'm3u8_native' , m3u8_id = 'hls' , fatal = False ))
64
62
65
63
for f in video_data .get ('formats' , []):
66
64
f_url = f .get ('url' )
You can’t perform that action at this time.
0 commit comments