Improve some id regexes
This commit is contained in:
parent
1dec2c8a0e
commit
490b755769
3 changed files with 3 additions and 3 deletions
|
@ -429,7 +429,7 @@ class SchoolTVIE(InfoExtractor):
|
|||
display_id = self._match_id(url)
|
||||
webpage = self._download_webpage(url, display_id)
|
||||
video_id = self._search_regex(
|
||||
r'data-mid=(["\'])(?P<id>.+?)\1', webpage, 'video_id', group='id')
|
||||
r'data-mid=(["\'])(?P<id>(?:(?!\1).)+)\1', webpage, 'video_id', group='id')
|
||||
return {
|
||||
'_type': 'url_transparent',
|
||||
'ie_key': 'NPO',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue