1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 19:03:02 +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( height = int_or_none(self._search_regex(
r'(\d+)p', format_id, 'height', default=None)) r'(\d+)p', format_id, 'height', default=None))
formats.append({ formats.append({
'url': a_format['uri'], 'url': self._proto_relative_url(a_format['uri'], 'https:'),
'format_id': format_id, 'format_id': format_id,
'ext': mimetype2ext(a_format.get('mime')) or 'mp4', 'ext': mimetype2ext(a_format.get('mime')) or 'mp4',
'height': height, 'height': height,