aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2021-01-07 12:35:04 +0100
committerRemita Amine <remitamine@gmail.com>2021-01-07 12:35:04 +0100
commit3d8e32dcc0bc6014fe05f445d755907ae046d5b5 (patch)
treeb549965aeba9d433add15606d526dae8d79a1ba5
parent8f29b2dd38213a4b45064fee16e64af29338a6e5 (diff)
[canvas] Match only supported VRT NU URLs(#27707)
-rw-r--r--youtube_dl/extractor/canvas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/canvas.py b/youtube_dl/extractor/canvas.py
index 65d65d52e..8b76a0200 100644
--- a/youtube_dl/extractor/canvas.py
+++ b/youtube_dl/extractor/canvas.py
@@ -211,7 +211,7 @@ class CanvasEenIE(InfoExtractor):
class VrtNUIE(GigyaBaseIE):
IE_DESC = 'VrtNU.be'
- _VALID_URL = r'https?://(?:www\.)?vrt\.be/(?P<site_id>vrtnu)/(?:[^/]+/)*(?P<id>[^/?#&]+)'
+ _VALID_URL = r'https?://(?:www\.)?vrt\.be/vrtnu/a-z/(?:[^/]+/){2}(?P<id>[^/?#&]+)'
_TESTS = [{
# Available via old API endpoint
'url': 'https://www.vrt.be/vrtnu/a-z/postbus-x/1989/postbus-x-s1989a1/',