|
|
@ -101,9 +101,8 @@ class Echo360IE(InfoExtractor):
|
|
|
|
host, video_id = self._match_valid_url(url).group('host', 'id')
|
|
|
|
host, video_id = self._match_valid_url(url).group('host', 'id')
|
|
|
|
webpage = self._download_webpage(url, video_id)
|
|
|
|
webpage = self._download_webpage(url, video_id)
|
|
|
|
|
|
|
|
|
|
|
|
player_config = self._parse_json(self._search_regex(
|
|
|
|
player_config = self._search_json(r'Echo\["mediaPlayerBootstrapApp"\]\("', webpage, 'player config', video_id,
|
|
|
|
r'Echo\["mediaPlayerBootstrapApp"\]\("({[^}]*})"\);', webpage, 'player config').replace('\\"', "\""),
|
|
|
|
transform_source=lambda x: x.replace(R'\"', '"'))
|
|
|
|
video_id)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
urlh = self._request_webpage(
|
|
|
|
urlh = self._request_webpage(
|
|
|
|
f'https://{host}/api/ui/sessions/{player_config["sessionId"]}',
|
|
|
|
f'https://{host}/api/ui/sessions/{player_config["sessionId"]}',
|
|
|
|