Use the 'base_url' for building the resulting 'url' as well.
authorElias Probst <mail@eliasprobst.eu>
Fri, 20 Jun 2014 23:10:10 +0000 (01:10 +0200)
committerElias Probst <mail@eliasprobst.eu>
Fri, 20 Jun 2014 23:10:10 +0000 (01:10 +0200)
youtube_dl/extractor/spiegel.py

index 87f1ee69462600f57c0bde46784307cb6e3e0963..bf5a5e2a42e01ac16443d363c2689f818122a1c0 100644 (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),