mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-03 18:12:58 +01:00
[funnyordie] Handle protocol-relative URLs (fixes #6490)
This commit is contained in:
parent
9f3da13860
commit
1df3186e0e
@ -53,7 +53,7 @@ def _real_extract(self, url):
|
|||||||
for bitrate in bitrates:
|
for bitrate in bitrates:
|
||||||
for link in links:
|
for link in links:
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': '%s%d.%s' % (link[0], bitrate, link[1]),
|
'url': self._proto_relative_url('%s%d.%s' % (link[0], bitrate, link[1])),
|
||||||
'format_id': '%s-%d' % (link[1], bitrate),
|
'format_id': '%s-%d' % (link[1], bitrate),
|
||||||
'vbr': bitrate,
|
'vbr': bitrate,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user