]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/ndtv.py
Tidy the changelog.
[youtubedl] / youtube_dl / extractor / ndtv.py
index 95e7d63aade1edbc6a0c300bcc18168d707f8716..2a1ca80df797f0abe63cc6327c5e283965865f70 100644 (file)
@@ -27,9 +27,7 @@ class NDTVIE(InfoExtractor):
     }
 
     def _real_extract(self, url):
-        mobj = re.match(self._VALID_URL, url)
-        video_id = mobj.group('id')
-
+        video_id = self._match_id(url)
         webpage = self._download_webpage(url, video_id)
 
         filename = self._search_regex(