[spiegeltv] Changed RTMP server (fixes #5788 and fixes #5843)
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 30 May 2015 05:23:09 +0000 (13:23 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 30 May 2015 05:23:09 +0000 (13:23 +0800)
Thanks to @brickleroux for finding out the problem

youtube_dl/extractor/spiegeltv.py

index 98cf92d89a1151edfd11b8f15a86eeaa6a83178d..359722ad697a7948bea484e7c8f8f77a924544f8 100644 (file)
@@ -51,9 +51,9 @@ class SpiegeltvIE(InfoExtractor):
         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 @@ class SpiegeltvIE(InfoExtractor):
             'ext': 'm4v',
             'description': description,
             'duration': duration,
-            'thumbnails': thumbnails
+            'thumbnails': thumbnails,
+            'rtmp_live': True,
         }