diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-05-01 04:42:05 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-05-01 04:42:05 +0600 |
commit | 2844b093360cf53829e1c127aba0bbc4a6a279a8 (patch) | |
tree | 1f070f9e5431961772a0c7e85bfdb7b7b97e2edb /youtube_dl/extractor | |
parent | 1a2b377cc2fa9546fa08a7777a6fc5fc545cc441 (diff) |
[tagesschau] Fix article media ids
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/tagesschau.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/tagesschau.py b/youtube_dl/extractor/tagesschau.py index ccc2d476d..6b71c8f81 100644 --- a/youtube_dl/extractor/tagesschau.py +++ b/youtube_dl/extractor/tagesschau.py @@ -181,10 +181,10 @@ class TagesschauIE(InfoExtractor): entries = [] for num, (entry_title, media_kind, download_text) in enumerate(re.findall( r'(?s)<p[^>]+class="infotext"[^>]*>.*?<strong>(.+?)</strong>.*?</p>.*?%s' % DOWNLOAD_REGEX, - webpage)): + webpage), 1): entries.append({ - 'id': display_id, - 'title': '%s-%d' % (entry_title, num), + 'id': '%s-%d' % (display_id, num), + 'title': '%s' % entry_title, 'formats': self._extract_formats(download_text, media_kind), }) return self.playlist_result(entries, display_id, title) |