logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 3d8e32dcc0bc6014fe05f445d755907ae046d5b5
parent 8f29b2dd38213a4b45064fee16e64af29338a6e5
Author: Remita Amine <remitamine@gmail.com>
Date:   Thu,  7 Jan 2021 12:35:04 +0100

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

Diffstat:

Myoutube_dl/extractor/canvas.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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/',