projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf3c58
)
Update rtlnl.py
author
Bart Kappenburg
<bartkappenburg@gmail.com>
Mon, 5 Jan 2015 10:51:24 +0000
(11:51 +0100)
committer
Bart Kappenburg
<bartkappenburg@gmail.com>
Mon, 5 Jan 2015 10:51:24 +0000
(11:51 +0100)
Added support for the non-www version of rtlxl.nl by making "www." optional.
youtube_dl/extractor/rtlnl.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/rtlnl.py
b/youtube_dl/extractor/rtlnl.py
index d029b0ec525fc2e1186aba7e1c3dadf9bed981b0..a3ca79f2ccfd2e00c09a4f9b2a9503fa85669b65 100644
(file)
--- a/
youtube_dl/extractor/rtlnl.py
+++ b/
youtube_dl/extractor/rtlnl.py
@@
-8,7
+8,7
@@
from ..utils import parse_duration
class RtlXlIE(InfoExtractor):
IE_NAME = 'rtlxl.nl'
- _VALID_URL = r'https?://
www\.
rtlxl\.nl/#!/[^/]+/(?P<uuid>[^/?]+)'
+ _VALID_URL = r'https?://
(www\.)?
rtlxl\.nl/#!/[^/]+/(?P<uuid>[^/?]+)'
_TEST = {
'url': 'http://www.rtlxl.nl/#!/rtl-nieuws-132237/6e4203a6-0a5e-3596-8424-c599a59e0677',