projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[iwara] Fix download URLs (closes #17026)
[youtube-dl]
/
youtube_dl
/
extractor
/
iwara.py
diff --git
a/youtube_dl/extractor/iwara.py
b/youtube_dl/extractor/iwara.py
index a7514fc80b3dc64636a9f53b7abc8d7672cb0546..250140d91f3cece2f329775ba2344ac6afbbd308 100644
(file)
--- 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({
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,
'format_id': format_id,
'ext': mimetype2ext(a_format.get('mime')) or 'mp4',
'height': height,