[eagleplatform] use http urls explicitly
authorremitamine <remitamine@gmail.com>
Sat, 26 Sep 2015 17:53:57 +0000 (18:53 +0100)
committerSergey M․ <dstftw@gmail.com>
Sat, 26 Sep 2015 19:08:31 +0000 (01:08 +0600)
youtube_dl/extractor/eagleplatform.py

index 75cf73b256622cca62f28fd3bc9da2e9f74f98b8..8bf88c77d55cd1636a5a6e7c6ec008d6f1451335 100644 (file)
@@ -81,7 +81,7 @@ class EaglePlatformIE(InfoExtractor):
         if age_restriction:
             age_limit = 0 if age_restriction == 'allow_all' else 18
 
-        secure_m3u8 = self._proto_relative_url(media['sources']['secure_m3u8']['auto'])
+        secure_m3u8 = self._proto_relative_url(media['sources']['secure_m3u8']['auto'], 'http:')
 
         m3u8_url = self._get_video_url(secure_m3u8, video_id, 'Downloading m3u8 JSON')
         formats = self._extract_m3u8_formats(