Skip to content

Commit

Permalink
[canvas] Match only supported VRT NU URLs(#27707)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed Jan 7, 2021
1 parent 8f29b2d commit 3d8e32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _real_extract(self, url):

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/',
Expand Down

0 comments on commit 3d8e32d

Please sign in to comment.