1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-29 21:52:54 +00:00

re-run flake after convention changes

This commit is contained in:
Robert Jacobson 2020-03-21 22:28:33 -04:00
parent b7c149a5c8
commit 15f29e48c9

View file

@ -43,7 +43,7 @@ class DigitalConcertHallIE(InfoExtractor):
# this returns JSON containing the urls of the playlist # this returns JSON containing the urls of the playlist
playlist_dict = self._download_json( playlist_dict = self._download_json(
'https://www.digitalconcerthall.com/json_services/get_stream_urls?id=' 'https://www.digitalconcerthall.com/json_services/get_stream_urls?id='
+ video_id + "&language=" + language, video_id).get('urls') + video_id + "&language=" + language, video_id).get('urls')
entries = [] entries = []
for key in playlist_dict: for key in playlist_dict:
@ -51,7 +51,7 @@ class DigitalConcertHallIE(InfoExtractor):
m3u8_url = playlist_dict.get(key)[0].get('url') m3u8_url = playlist_dict.get(key)[0].get('url')
self.debug_out("key url: " + m3u8_url) self.debug_out("key url: " + m3u8_url)
formats = self._extract_m3u8_formats(m3u8_url, key, 'mp4', formats = self._extract_m3u8_formats(m3u8_url, key, 'mp4',
'm3u8_native', m3u8_id='hls', fatal=False) 'm3u8_native', m3u8_id='hls', fatal=False)
self.debug_out(formats) self.debug_out(formats)
# the div with id=key contains the video title # the div with id=key contains the video title
vid_info_div = clean_html(get_element_by_id(key, webpage)) vid_info_div = clean_html(get_element_by_id(key, webpage))