1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-04 18:22:37 +01:00

[tagesschau] Look at the right place for download links

This commit is contained in:
Philipp Hagemeister 2014-12-06 13:59:10 +01:00
parent 47d7c64274
commit 6591fdf51f

View File

@ -70,7 +70,7 @@ def _real_extract(self, url):
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(