aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/iwara.py
diff options
context:
space:
mode:
authorKazuma Takahara <[email protected]>2018-07-21 19:41:33 +0900
committerSergey M <[email protected]>2018-07-21 17:41:33 +0700
commitedb0e17188a1197afae1a0d594e4aab7d27bbcf2 (patch)
tree0f43d1812ea5dc1cfb86d59c6fa59968d0554708 /youtube_dl/extractor/iwara.py
parente9c671d5e86e43785382ae9cb20c8e7676c7c9bf (diff)
downloadyoutube-dl-edb0e17188a1197afae1a0d594e4aab7d27bbcf2.tar.gz
youtube-dl-edb0e17188a1197afae1a0d594e4aab7d27bbcf2.zip
[iwara] Fix download URLs (closes #17026)
Diffstat (limited to 'youtube_dl/extractor/iwara.py')
-rw-r--r--youtube_dl/extractor/iwara.py2
1 files changed, 1 insertions, 1 deletions
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,