aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/spiegel.py
diff options
context:
space:
mode:
authorElias Probst <mail@eliasprobst.eu>2014-06-21 01:10:10 +0200
committerElias Probst <mail@eliasprobst.eu>2014-06-21 01:10:10 +0200
commit98aeac6ea9c6f554fa81f19cfa2a7b67b2d424f2 (patch)
treed4dd4a0f674c44ea4ff3e2acd2d9c39f4c244f40 /youtube_dl/extractor/spiegel.py
parent8bfb6723cb5bd9cb7a4c843e12688b26ab14d17a (diff)
Use the 'base_url' for building the resulting 'url' as well.
Diffstat (limited to 'youtube_dl/extractor/spiegel.py')
-rw-r--r--youtube_dl/extractor/spiegel.py2
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),