projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eab37d
)
[novamov] Modernize
author
Sergey M․
<dstftw@gmail.com>
Wed, 11 Nov 2015 16:34:49 +0000
(22:34 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 11 Nov 2015 16:34:49 +0000
(22:34 +0600)
youtube_dl/extractor/novamov.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/novamov.py
b/youtube_dl/extractor/novamov.py
index e0bf6d1bc477e3a91de0da24143b003878c37626..6b15fc2e530a84e99ed194fee0024f8ec6c4c2b8 100644
(file)
--- a/
youtube_dl/extractor/novamov.py
+++ b/
youtube_dl/extractor/novamov.py
@@
-42,8
+42,7
@@
class NovaMovIE(InfoExtractor):
}
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
- video_id = mobj.group('id')
+ video_id = self._match_id(url)
url = 'http://%s/video/%s' % (self._HOST, video_id)