From d045f0bdb72bc3f84cbcfa5fd940c46d3360b386 Mon Sep 17 00:00:00 2001 From: remitamine Date: Sat, 26 Sep 2015 18:53:57 +0100 Subject: [PATCH] [eagleplatform] use http urls explicitly --- youtube_dl/extractor/eagleplatform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/eagleplatform.py b/youtube_dl/extractor/eagleplatform.py index 75cf73b256..8bf88c77d5 100644 --- a/youtube_dl/extractor/eagleplatform.py +++ b/youtube_dl/extractor/eagleplatform.py @@ -81,7 +81,7 @@ def _real_extract(self, url): 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(