Rapsys Git
/
youtubedl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debian/control: Prefer mpv to mplayer in Recommends.
[youtubedl]
/
youtube_dl
/
extractor
/
ndtv.py
diff --git
a/youtube_dl/extractor/ndtv.py
b/youtube_dl/extractor/ndtv.py
index 95e7d63aade1edbc6a0c300bcc18168d707f8716..2a1ca80df797f0abe63cc6327c5e283965865f70 100644
(file)
--- 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(