From: Elias Probst Date: Fri, 20 Jun 2014 23:10:10 +0000 (+0200) Subject: Use the 'base_url' for building the resulting 'url' as well. X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=98aeac6ea9c6f554fa81f19cfa2a7b67b2d424f2;p=youtube-dl Use the 'base_url' for building the resulting 'url' as well. --- 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),