From 98aeac6ea9c6f554fa81f19cfa2a7b67b2d424f2 Mon Sep 17 00:00:00 2001 From: Elias Probst Date: Sat, 21 Jun 2014 01:10:10 +0200 Subject: [PATCH] Use the 'base_url' for building the resulting 'url' as well. --- youtube_dl/extractor/spiegel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/spiegel.py b/youtube_dl/extractor/spiegel.py index 87f1ee6946..bf5a5e2a42 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),