[rtlnl] Improve _VALID_URL (closes #13295)
authorSergey M․ <dstftw@gmail.com>
Tue, 6 Jun 2017 14:21:44 +0000 (21:21 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 6 Jun 2017 14:21:44 +0000 (21:21 +0700)
youtube_dl/extractor/rtlnl.py

index 54076de280f4e4ae24321c875f553cfcd146a574..3e22998c6d8384893ac801c98c4f6bde6988c2d1 100644 (file)
@@ -15,7 +15,7 @@ class RtlNlIE(InfoExtractor):
         https?://(?:www\.)?
         (?:
             rtlxl\.nl/[^\#]*\#!/[^/]+/|
-            rtl\.nl/system/videoplayer/(?:[^/]+/)+(?:video_)?embed\.html\b.+?\buuid=
+            rtl\.nl/(?:system/videoplayer/(?:[^/]+/)+(?:video_)?embed\.html\b.+?\buuid=|video/)
         )
         (?P<id>[0-9a-f-]+)'''
 
@@ -70,6 +70,9 @@ class RtlNlIE(InfoExtractor):
     }, {
         'url': 'http://rtlxl.nl/?_ga=1.204735956.572365465.1466978370#!/rtl-nieuws-132237/3c487912-023b-49ac-903e-2c5d79f8410f',
         'only_matching': True,
+    }, {
+        'url': 'https://www.rtl.nl/video/c603c9c2-601d-4b5e-8175-64f1e942dc7d/',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):