[tagesschau] Look at the right place for download links
authorPhilipp Hagemeister <phihag@phihag.de>
Sat, 6 Dec 2014 12:59:10 +0000 (13:59 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sat, 6 Dec 2014 12:59:10 +0000 (13:59 +0100)
youtube_dl/extractor/tagesschau.py

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