From: Remita Amine Date: Thu, 7 Jan 2021 11:35:04 +0000 (+0100) Subject: [canvas] Match only supported VRT NU URLs(#27707) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3d8e32dcc0bc6014fe05f445d755907ae046d5b5;p=youtube-dl [canvas] Match only supported VRT NU URLs(#27707) --- 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/(?Pvrtnu)/(?:[^/]+/)*(?P[^/?#&]+)' + _VALID_URL = r'https?://(?:www\.)?vrt\.be/vrtnu/a-z/(?:[^/]+/){2}(?P[^/?#&]+)' _TESTS = [{ # Available via old API endpoint 'url': 'https://www.vrt.be/vrtnu/a-z/postbus-x/1989/postbus-x-s1989a1/',