diff options
author | Bart Kappenburg <bartkappenburg@gmail.com> | 2015-01-05 11:51:24 +0100 |
---|---|---|
committer | Bart Kappenburg <bartkappenburg@gmail.com> | 2015-01-05 11:51:24 +0100 |
commit | bdf80aa542da15437545ae9c17cd5c80e17e171f (patch) | |
tree | 71984145d0c6ebba56e8091e57dc497ebe06e0dc | |
parent | adf3c58ad31e7376f085271a02fdfe56b1e75989 (diff) |
Update rtlnl.py
Added support for the non-www version of rtlxl.nl by making "www." optional.
-rw-r--r-- | youtube_dl/extractor/rtlnl.py | 2 |
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', |