From: Bart Kappenburg Date: Mon, 5 Jan 2015 10:51:24 +0000 (+0100) Subject: Update rtlnl.py X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=bdf80aa542da15437545ae9c17cd5c80e17e171f;p=youtube-dl Update rtlnl.py Added support for the non-www version of rtlxl.nl by making "www." optional. --- 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[^/?]+)' + _VALID_URL = r'https?://(www\.)?rtlxl\.nl/#!/[^/]+/(?P[^/?]+)' _TEST = { 'url': 'http://www.rtlxl.nl/#!/rtl-nieuws-132237/6e4203a6-0a5e-3596-8424-c599a59e0677',