Browse Source

Update rtlnl.py

Added support for the non-www version of rtlxl.nl by making "www." optional.
master
Bart Kappenburg 10 years ago
parent
commit
bdf80aa542
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/rtlnl.py

2
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',

Loading…
Cancel
Save