Browse Source

[vevo] Use _match_id

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
4b94288301
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      youtube_dl/extractor/vevo.py

+ 1
- 2
youtube_dl/extractor/vevo.py View File

@ -169,8 +169,7 @@ class VevoIE(InfoExtractor):
preference=0) preference=0)
def _real_extract(self, url): 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 json_url = 'http://videoplayer.vevo.com/VideoService/AuthenticateVideo?isrc=%s' % video_id
response = self._download_json(json_url, video_id) response = self._download_json(json_url, video_id)


Loading…
Cancel
Save