Просмотр исходного кода

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

Sergey M․ 9 лет назад
Родитель
Сommit
4cf3489c6e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      youtube_dl/extractor/vevo.py

+ 1 - 1
youtube_dl/extractor/vevo.py

@@ -152,7 +152,7 @@ class VevoIE(InfoExtractor):
     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 {}