浏览代码

Use the 'base_url' for building the resulting 'url' as well.

Elias Probst 11 年之前
父节点
当前提交
98aeac6ea9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/spiegel.py

+ 1 - 1
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),