1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

Update rtlnl.py

Added support for the non-www version of rtlxl.nl by making "www." optional.
This commit is contained in:
Bart Kappenburg 2015-01-05 11:51:24 +01:00
parent adf3c58ad3
commit bdf80aa542

View File

@ -8,7 +8,7 @@ from ..utils import parse_duration
class RtlXlIE(InfoExtractor): class RtlXlIE(InfoExtractor):
IE_NAME = 'rtlxl.nl' IE_NAME = 'rtlxl.nl'
_VALID_URL = r'https?://www\.rtlxl\.nl/#!/[^/]+/(?P<uuid>[^/?]+)' _VALID_URL = r'https?://(www\.)?rtlxl\.nl/#!/[^/]+/(?P<uuid>[^/?]+)'
_TEST = { _TEST = {
'url': 'http://www.rtlxl.nl/#!/rtl-nieuws-132237/6e4203a6-0a5e-3596-8424-c599a59e0677', 'url': 'http://www.rtlxl.nl/#!/rtl-nieuws-132237/6e4203a6-0a5e-3596-8424-c599a59e0677',