projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf99ad
)
[vevo] Use _match_id
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 11 Dec 2015 09:32:29 +0000
(17:32 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 11 Dec 2015 09:32:29 +0000
(17:32 +0800)
youtube_dl/extractor/vevo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vevo.py
b/youtube_dl/extractor/vevo.py
index 61813301a832bf060b35580007548d6144f0a9b3..1d834970c116b7dc4e0b94d4e2b751130414f263 100644
(file)
--- a/
youtube_dl/extractor/vevo.py
+++ b/
youtube_dl/extractor/vevo.py
@@
-169,8
+169,7
@@
class VevoIE(InfoExtractor):
preference=0)
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
- video_id = mobj.group('id')
+ video_id = self._match_id(url)
json_url = 'http://videoplayer.vevo.com/VideoService/AuthenticateVideo?isrc=%s' % video_id
response = self._download_json(json_url, video_id)