aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/wdr.py
diff options
context:
space:
mode:
authorBoris Wachtmeister <boris-code@gmx.com>2016-05-26 20:16:33 +0200
committerBoris Wachtmeister <boris-code@gmx.com>2016-05-26 20:54:51 +0200
commit3a686853e1739dfc26548cdc09fe89e693e76a9f (patch)
treec5090056fef5bbadfb763d0cb235034ae43f66fe /youtube_dl/extractor/wdr.py
parent949fc42e009aed5414caad280d0dc551ffcd9c14 (diff)
[WDR] fixed parsing of playlists
Diffstat (limited to 'youtube_dl/extractor/wdr.py')
-rw-r--r--youtube_dl/extractor/wdr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py
index 1af1e996d..1e729cb7c 100644
--- a/youtube_dl/extractor/wdr.py
+++ b/youtube_dl/extractor/wdr.py
@@ -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)
]