X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fndtv.py;h=2a1ca80df797f0abe63cc6327c5e283965865f70;hb=7ebc36900d15888321a45f04113eeda169469004;hp=95e7d63aade1edbc6a0c300bcc18168d707f8716;hpb=3141feb73bb3c3a6d89e86f17859e8b4beab8a75;p=youtube-dl diff --git a/youtube_dl/extractor/ndtv.py b/youtube_dl/extractor/ndtv.py index 95e7d63aa..2a1ca80df 100644 --- a/youtube_dl/extractor/ndtv.py +++ b/youtube_dl/extractor/ndtv.py @@ -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(