1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[vevo] Update videoservice API URL (Closes #8900)

This commit is contained in:
Sergey M․ 2016-03-27 01:11:11 +06:00
parent b24ab3e341
commit 4cf3489c6e

View File

@ -152,7 +152,7 @@ def _call_api(self, path, video_id, note, errnote, fatal=True):
def _real_extract(self, url):
video_id = self._match_id(url)
json_url = 'http://videoplayer.vevo.com/VideoService/AuthenticateVideo?isrc=%s' % video_id
json_url = 'http://api.vevo.com/VideoService/AuthenticateVideo?isrc=%s' % video_id
response = self._download_json(
json_url, video_id, 'Downloading video info', 'Unable to download info')
video_info = response.get('video') or {}