Improve some id regexes
[youtube-dl] / youtube_dl / extractor / npo.py
index 87f5675c7ff8b14169291420feb9bcf85edf894d..3293bdb17bbf75c5bfb96d0da7b72df8a6591057 100644 (file)
@@ -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',