1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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 @@ class WDRIE(InfoExtractor):
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)
]