[canvas] Match only supported VRT NU URLs(#27707)

pull/27709/head
Remita Amine 2021-01-07 12:35:04 +01:00
parent 8f29b2dd38
commit 3d8e32dcc0
1 changed files with 1 additions and 1 deletions

View File

@ -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/',