浏览代码

[vevo] Revert videoplayer.vevo.com to api.vevo.com

Sergey M․ 9 年之前
父节点
当前提交
f745403b5b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/vevo.py

+ 1 - 1
youtube_dl/extractor/vevo.py

@@ -201,7 +201,7 @@ class VevoIE(VevoBaseIE):
     def _real_extract(self, url):
     def _real_extract(self, url):
         video_id = self._match_id(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(
         response = self._download_json(
             json_url, video_id, 'Downloading video info',
             json_url, video_id, 'Downloading video info',
             'Unable to download info', fatal=False) or {}
             'Unable to download info', fatal=False) or {}