projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc4a6c
)
[wdr] Add support for more wdrmaus subpages
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 30 Mar 2014 05:42:35 +0000
(07:42 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 30 Mar 2014 05:42:35 +0000
(07:42 +0200)
youtube_dl/extractor/wdr.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/wdr.py
b/youtube_dl/extractor/wdr.py
index 2048744e10092596194a369a880135e77e9fbc54..63691aa670ec7d3e0f936f7a9444b687dddeb9f3 100644
(file)
--- 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',