[iwara] Fix download URLs (closes #17026)

pull/8/head
Kazuma Takahara 6 years ago committed by Sergey M
parent e9c671d5e8
commit edb0e17188

@ -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,

Loading…
Cancel
Save