]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[iwara] Fix download URLs (closes #17026)
authorKazuma Takahara <4269kzm@gmail.com>
Sat, 21 Jul 2018 10:41:33 +0000 (19:41 +0900)
committerSergey M <dstftw@gmail.com>
Sat, 21 Jul 2018 10:41:33 +0000 (17:41 +0700)
youtube_dl/extractor/iwara.py

index a7514fc80b3dc64636a9f53b7abc8d7672cb0546..250140d91f3cece2f329775ba2344ac6afbbd308 100644 (file)
@@ -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,