Improve some id regexes
This commit is contained in:
parent
1dec2c8a0e
commit
490b755769
3 changed files with 3 additions and 3 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue