summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-03-30 07:42:35 +0200
committerPhilipp Hagemeister <[email protected]>2014-03-30 07:42:35 +0200
commit9a7b072e38ac6aafc346692a268e7a399a07c607 (patch)
tree8e73d3692d0fbbc2959aa56c16a9f7369d8b21f7
parentcbc4a6cc7e8de8d7103afcad1173a5e8910ad35a (diff)
downloadyoutube-dl-9a7b072e38ac6aafc346692a268e7a399a07c607.tar.gz
youtube-dl-9a7b072e38ac6aafc346692a268e7a399a07c607.zip
[wdr] Add support for more wdrmaus subpages
-rw-r--r--youtube_dl/extractor/wdr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py
index 2048744e1..63691aa67 100644
--- 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',