1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +01:00

[WDR] fixed parsing of playlists

This commit is contained in:
Boris Wachtmeister 2016-05-26 20:16:33 +02:00
parent 949fc42e00
commit 3a686853e1

View File

@ -72,7 +72,7 @@ class WDRIE(InfoExtractor):
},
{
'url': 'http://www1.wdr.de/mediathek/video/sendungen/aktuelle-stunde/aktuelle-stunde-120.html',
'playlist_mincount': 10,
'playlist_mincount': 8,
'info_dict': {
'id': 'aktuelle-stunde/aktuelle-stunde-120',
},
@ -121,7 +121,7 @@ def _real_extract(self, url):
entries = [
self.url_result(page_url + href[0], 'WDR')
for href in re.findall(
r'<a href="(%s)"' % self._PAGE_REGEX,
r'<a href="(%s)"[^>]+data-extension=' % self._PAGE_REGEX,
webpage)
]