projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb2ed7
)
[ndtv] Modernize
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 19 Jan 2015 09:10:05 +0000
(10:10 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 19 Jan 2015 09:10:05 +0000
(10:10 +0100)
youtube_dl/extractor/ndtv.py
patch
|
blob
|
history
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(