浏览代码

[eagleplatform] Fix extraction

Sergey M․ 10 年之前
父节点
当前提交
bca553caac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/eagleplatform.py

+ 1 - 1
youtube_dl/extractor/eagleplatform.py

@@ -79,7 +79,7 @@ class EaglePlatformIE(InfoExtractor):
             age_limit = 0 if age_restriction == 'allow_all' else 18
             age_limit = 0 if age_restriction == 'allow_all' else 18
 
 
         m3u8_data = self._download_json(
         m3u8_data = self._download_json(
-            media['sources']['secure_m3u8']['auto'],
+            self._proto_relative_url(media['sources']['secure_m3u8']['auto'], 'http:'),
             video_id, 'Downloading m3u8 JSON')
             video_id, 'Downloading m3u8 JSON')
 
 
         formats = self._extract_m3u8_formats(
         formats = self._extract_m3u8_formats(