projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f29b2d
)
[canvas] Match only supported VRT NU URLs(#27707)
author
Remita Amine
<remitamine@gmail.com>
Thu, 7 Jan 2021 11:35:04 +0000
(12:35 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Thu, 7 Jan 2021 11:35:04 +0000
(12:35 +0100)
youtube_dl/extractor/canvas.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/canvas.py
b/youtube_dl/extractor/canvas.py
index 65d65d52e18b2feebac683ad141f9bc8e9d476a7..8b76a0200ca51a350052d7bcc2b4beff3fee2448 100644
(file)
--- 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/',