aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/rtlnl.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-11 19:03:22 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-11 19:03:22 +0600
commita9d56c684319eaf8b9494bd8d2dc9d0f40485254 (patch)
treed3f3ec1721d4760353cc4843acd8ff1493fd51b3 /youtube_dl/extractor/rtlnl.py
parentf98470df690d053e45691ede2751ab6a4063082b (diff)
[rtlnl] Improve _VALID_URL (#5950)
Diffstat (limited to 'youtube_dl/extractor/rtlnl.py')
-rw-r--r--youtube_dl/extractor/rtlnl.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/youtube_dl/extractor/rtlnl.py b/youtube_dl/extractor/rtlnl.py
index cfce4550a..41d202c28 100644
--- a/youtube_dl/extractor/rtlnl.py
+++ b/youtube_dl/extractor/rtlnl.py
@@ -12,10 +12,10 @@ class RtlNlIE(InfoExtractor):
IE_NAME = 'rtl.nl'
IE_DESC = 'rtl.nl and rtlxl.nl'
_VALID_URL = r'''(?x)
- https?://(www\.)?
+ https?://(?:www\.)?
(?:
rtlxl\.nl/\#!/[^/]+/|
- rtl\.nl/system/videoplayer/[^?#]+?/video_embed\.html\#uuid=
+ rtl\.nl/system/videoplayer/(?:[^/]+/)+(?:video_)?embed\.html\b.+?\buuid=
)
(?P<id>[0-9a-f-]+)'''
@@ -43,6 +43,9 @@ class RtlNlIE(InfoExtractor):
'upload_date': '20150215',
'description': 'Er zijn nieuwe beelden vrijgegeven die vlak na de aanslag in Kopenhagen zijn gemaakt. Op de video is goed te zien hoe omstanders zich bekommeren om één van de slachtoffers, terwijl de eerste agenten ter plaatse komen.',
}
+ }, {
+ 'url': 'http://www.rtl.nl/system/videoplayer/derden/embed.html#!/uuid=bb0353b0-d6a4-1dad-90e9-18fe75b8d1f0',
+ 'only_matching': True,
}]
def _real_extract(self, url):