0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-04 23:35:04 +00:00

[spiegeltv] Changed RTMP server (fixes #5788 and fixes #5843)

Thanks to @brickleroux for finding out the problem
This commit is contained in:
Yen Chi Hsuan 2015-05-30 13:23:09 +08:00
parent d6aa68ce75
commit fafec39d41

View file

@ -51,9 +51,9 @@ def _real_extract(self, url):
is_wide = media_json['is_wide']
server_json = self._download_json(
'http://www.spiegel.tv/streaming_servers/', video_id,
note='Downloading server information')
server = server_json[0]['endpoint']
'http://spiegeltv-prod-static.s3.amazonaws.com/projectConfigs/projectConfig.json',
video_id, note='Downloading server information')
server = server_json['streamingserver'][0]['endpoint']
thumbnails = []
for image in media_json['images']:
@ -76,5 +76,6 @@ def _real_extract(self, url):
'ext': 'm4v',
'description': description,
'duration': duration,
'thumbnails': thumbnails
'thumbnails': thumbnails,
'rtmp_live': True,
}