mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 07:12:41 +00:00
Also try el=vevo on YouTube if everything else fails (fixes issue #115)
This commit is contained in:
parent
4dd63be193
commit
37dfa1e0df
1 changed files with 1 additions and 1 deletions
|
@ -788,7 +788,7 @@ class YoutubeIE(InfoExtractor):
|
||||||
|
|
||||||
# Get video info
|
# Get video info
|
||||||
self.report_video_info_webpage_download(video_id)
|
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_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))
|
% (video_id, el_type))
|
||||||
request = urllib2.Request(video_info_url, None, std_headers)
|
request = urllib2.Request(video_info_url, None, std_headers)
|
||||||
|
|
Loading…
Reference in a new issue