Skip to content

Commit

Permalink
[tagesschau] Fix article media ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey M․ committed Apr 30, 2016
1 parent 1a2b377 commit 2844b09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions youtube_dl/extractor/tagesschau.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ def _real_extract(self, url):
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)
Expand Down

0 comments on commit 2844b09

Please sign in to comment.