|
|
@ -199,8 +199,9 @@ class TEDIE(SubtitlesInfoExtractor):
|
|
|
|
webpage = self._download_webpage(url, name)
|
|
|
|
webpage = self._download_webpage(url, name)
|
|
|
|
|
|
|
|
|
|
|
|
config_json = self._html_search_regex(
|
|
|
|
config_json = self._html_search_regex(
|
|
|
|
r"data-config='([^']+)", webpage, 'config')
|
|
|
|
r'"pages\.jwplayer"\s*,\s*({.+?})\s*\)\s*</script>',
|
|
|
|
config = json.loads(config_json)
|
|
|
|
webpage, 'config')
|
|
|
|
|
|
|
|
config = json.loads(config_json)['config']
|
|
|
|
video_url = config['video']['url']
|
|
|
|
video_url = config['video']['url']
|
|
|
|
thumbnail = config.get('image', {}).get('url')
|
|
|
|
thumbnail = config.get('image', {}).get('url')
|
|
|
|
|
|
|
|
|
|
|
|