瀏覽代碼

[tagesschau] Look at the right place for download links

Philipp Hagemeister 10 年之前
父節點
當前提交
6591fdf51f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/tagesschau.py

+ 1 - 1
youtube_dl/extractor/tagesschau.py

@@ -70,7 +70,7 @@ class TagesschauIE(InfoExtractor):
                 webpage, 'download links')
                 webpage, 'download links')
             links = re.finditer(
             links = re.finditer(
                 r'<div class="button" title="(?P<title>[^"]*)"><a href="(?P<url>[^"]+)">(?P<name>.+?)</a></div>',
                 r'<div class="button" title="(?P<title>[^"]*)"><a href="(?P<url>[^"]+)">(?P<name>.+?)</a></div>',
-                webpage)
+                download_text)
             formats = []
             formats = []
             for l in links:
             for l in links:
                 format_id = self._search_regex(
                 format_id = self._search_regex(