aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/canvas.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/canvas.py')
-rw-r--r--youtube_dl/extractor/canvas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/canvas.py b/youtube_dl/extractor/canvas.py
index ef0691dcd..d183d5d52 100644
--- a/youtube_dl/extractor/canvas.py
+++ b/youtube_dl/extractor/canvas.py
@@ -71,7 +71,7 @@ class CanvasIE(InfoExtractor):
webpage)).strip()
video_id = self._html_search_regex(
- r'data-video=(["\'])(?P<id>.+?)\1', webpage, 'video id', group='id')
+ r'data-video=(["\'])(?P<id>(?:(?!\1).)+)\1', webpage, 'video id', group='id')
data = self._download_json(
'https://mediazone.vrt.be/api/v1/%s/assets/%s'