diff options
author | Elias Probst <mail@eliasprobst.eu> | 2014-06-21 01:10:10 +0200 |
---|---|---|
committer | Elias Probst <mail@eliasprobst.eu> | 2014-06-21 01:10:10 +0200 |
commit | 98aeac6ea9c6f554fa81f19cfa2a7b67b2d424f2 (patch) | |
tree | d4dd4a0f674c44ea4ff3e2acd2d9c39f4c244f40 /youtube_dl | |
parent | 8bfb6723cb5bd9cb7a4c843e12688b26ab14d17a (diff) |
Use the 'base_url' for building the resulting 'url' as well.
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/spiegel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/spiegel.py b/youtube_dl/extractor/spiegel.py index 87f1ee694..bf5a5e2a4 100644 --- a/youtube_dl/extractor/spiegel.py +++ b/youtube_dl/extractor/spiegel.py @@ -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), |