1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 11:41:52 +00: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,