]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[eagleplatform] Fix extraction
authorSergey M․ <dstftw@gmail.com>
Sun, 6 Sep 2015 04:21:15 +0000 (10:21 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 6 Sep 2015 04:21:15 +0000 (10:21 +0600)
youtube_dl/extractor/eagleplatform.py

index 688dfc2f7f34d15e712481351a6073987325add5..a1ee515686a7bdf0b1719f304de6b322fbeab5cb 100644 (file)
@@ -79,7 +79,7 @@ class EaglePlatformIE(InfoExtractor):
             age_limit = 0 if age_restriction == 'allow_all' else 18
 
         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')
 
         formats = self._extract_m3u8_formats(