From: Kazuma Takahara <4269kzm@gmail.com> Date: Sat, 21 Jul 2018 10:41:33 +0000 (+0900) Subject: [iwara] Fix download URLs (closes #17026) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=edb0e17188a1197afae1a0d594e4aab7d27bbcf2;p=youtube-dl [iwara] Fix download URLs (closes #17026) --- diff --git a/youtube_dl/extractor/iwara.py b/youtube_dl/extractor/iwara.py index a7514fc80..250140d91 100644 --- a/youtube_dl/extractor/iwara.py +++ b/youtube_dl/extractor/iwara.py @@ -77,7 +77,7 @@ class IwaraIE(InfoExtractor): height = int_or_none(self._search_regex( r'(\d+)p', format_id, 'height', default=None)) formats.append({ - 'url': a_format['uri'], + 'url': self._proto_relative_url(a_format['uri'], 'https:'), 'format_id': format_id, 'ext': mimetype2ext(a_format.get('mime')) or 'mp4', 'height': height,