1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[eagleplatform] use http urls explicitly

This commit is contained in:
remitamine 2015-09-26 18:53:57 +01:00 committed by Sergey M․
parent 22becac4bd
commit d045f0bdb7

View File

@ -81,7 +81,7 @@ def _real_extract(self, url):
if age_restriction: if age_restriction:
age_limit = 0 if age_restriction == 'allow_all' else 18 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') m3u8_url = self._get_video_url(secure_m3u8, video_id, 'Downloading m3u8 JSON')
formats = self._extract_m3u8_formats( formats = self._extract_m3u8_formats(