summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Kappenburg <bartkappenburg@gmail.com>2015-01-05 11:51:24 +0100
committerBart Kappenburg <bartkappenburg@gmail.com>2015-01-05 11:51:24 +0100
commitbdf80aa542da15437545ae9c17cd5c80e17e171f (patch)
tree71984145d0c6ebba56e8091e57dc497ebe06e0dc
parentadf3c58ad31e7376f085271a02fdfe56b1e75989 (diff)
downloadyoutube-dl-bdf80aa542da15437545ae9c17cd5c80e17e171f.tar.gz
youtube-dl-bdf80aa542da15437545ae9c17cd5c80e17e171f.tar.xz
youtube-dl-bdf80aa542da15437545ae9c17cd5c80e17e171f.zip
Update rtlnl.py
Added support for the non-www version of rtlxl.nl by making "www." optional.
-rw-r--r--youtube_dl/extractor/rtlnl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rtlnl.py b/youtube_dl/extractor/rtlnl.py
index d029b0ec5..a3ca79f2c 100644
--- 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',