1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 18:36:06 +08:00

[iwara] Fix download URLs (closes #17026)

This commit is contained in:
Kazuma Takahara 2018-07-21 19:41:33 +09:00 committed by Sergey M
parent e9c671d5e8
commit edb0e17188

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