commit: 9a7b072e38ac6aafc346692a268e7a399a07c607
parent cbc4a6cc7e8de8d7103afcad1173a5e8910ad35a
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Sun, 30 Mar 2014 07:42:35 +0200
[wdr] Add support for more wdrmaus subpages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py
@@ -116,7 +116,7 @@ class WDRIE(InfoExtractor):
class WDRMausIE(InfoExtractor):
- _VALID_URL = 'http://(?:www\.)?wdrmaus\.de/(?:extras/|sachgeschichten/sachgeschichten/)?(?P<id>[^/?#]+)(?:/index\.php5|\.php5|/(?:$|[?#]))'
+ _VALID_URL = 'http://(?:www\.)?wdrmaus\.de/(?:[^/]+/){,2}(?P<id>[^/?#]+)(?:/index\.php5|(?<!index)\.php5|/(?:$|[?#]))'
IE_DESC = 'Sendung mit der Maus'
_TESTS = [{
'url': 'http://www.wdrmaus.de/aktuelle-sendung/index.php5',