[WDR] fixed parsing of playlists
authorBoris Wachtmeister <boris-code@gmx.com>
Thu, 26 May 2016 18:16:33 +0000 (20:16 +0200)
committerBoris Wachtmeister <boris-code@gmx.com>
Thu, 26 May 2016 18:54:51 +0000 (20:54 +0200)
youtube_dl/extractor/wdr.py

index 1af1e996d8de0e4d9a62bf61f45a13e2a95b7365..1e729cb7cb1917d5e4c80a30d98ed9cd167f7d2e 100644 (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)
             ]