mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 15:46:54 +01:00
Use the 'base_url' for building the resulting 'url' as well.
This commit is contained in:
parent
8bfb6723cb
commit
98aeac6ea9
@ -47,7 +47,7 @@ def _real_extract(self, url):
|
|||||||
formats = [
|
formats = [
|
||||||
{
|
{
|
||||||
'format_id': n.tag.rpartition('type')[2],
|
'format_id': n.tag.rpartition('type')[2],
|
||||||
'url': 'http://video2.spiegel.de/flash/' + n.find('./filename').text,
|
'url': base_url + n.find('./filename').text,
|
||||||
'width': int(n.find('./width').text),
|
'width': int(n.find('./width').text),
|
||||||
'height': int(n.find('./height').text),
|
'height': int(n.find('./height').text),
|
||||||
'abr': int(n.find('./audiobitrate').text),
|
'abr': int(n.find('./audiobitrate').text),
|
||||||
|
Loading…
Reference in New Issue
Block a user