[vevo] Use _match_id

pull/8/head
Yen Chi Hsuan 2015-12-11 17:32:29 +08:00
rodzic 4bf99ade15
commit 4b94288301
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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)