aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/vevo.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <[email protected]>2015-12-11 17:32:29 +0800
committerYen Chi Hsuan <[email protected]>2015-12-11 17:32:29 +0800
commit4b942883019968c556a6c6b989b346cecc474ac2 (patch)
tree46dc77900cb4e80dd3895ffb658e42ca7a732d40 /youtube_dl/extractor/vevo.py
parent4bf99ade15c2b9dc0ec0ce4e6127d4cd56f87896 (diff)
downloadyoutube-dl-4b942883019968c556a6c6b989b346cecc474ac2.tar.gz
youtube-dl-4b942883019968c556a6c6b989b346cecc474ac2.zip
[vevo] Use _match_id
Diffstat (limited to 'youtube_dl/extractor/vevo.py')
-rw-r--r--youtube_dl/extractor/vevo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py
index 61813301a..1d834970c 100644
--- 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)