Skip to content

A feature-rich command-line audio/video downloader

[vevo] Use _match_id

Yen Chi Hsuan4b9428830199
diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py
index 61813301a8..1d834970c1 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)