Use the 'base_url' for building the resulting 'url' as well.

This commit is contained in:
Elias Probst 2014-06-21 01:10:10 +02:00
parent 8bfb6723cb
commit 98aeac6ea9
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class SpiegelIE(InfoExtractor):
formats = [
{
'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),
'height': int(n.find('./height').text),
'abr': int(n.find('./audiobitrate').text),