瀏覽代碼

Also try el=vevo on YouTube if everything else fails (fixes issue #115)

Ricardo Garcia 15 年之前
父節點
當前提交
37dfa1e0df
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube-dl

+ 1 - 1
youtube-dl

@@ -788,7 +788,7 @@ class YoutubeIE(InfoExtractor):
 
 			# Get video info
 			self.report_video_info_webpage_download(video_id)
-			for el_type in ['embedded', 'detailpage']:
+			for el_type in ['embedded', 'detailpage', 'vevo']:
 				video_info_url = ('http://www.youtube.com/get_video_info?&video_id=%s&el=%s&ps=default&eurl=&gl=US&hl=en'
 						   % (video_id, el_type))
 				request = urllib2.Request(video_info_url, None, std_headers)