mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-27 01:56:52 +00:00
Also try no "el" option in get_video_info (fixes issue #130)
This commit is contained in:
parent
42e3546fb5
commit
787f2a5d95
1 changed files with 2 additions and 2 deletions
|
@ -804,8 +804,8 @@ 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', 'vevo']:
|
for el_type in ['&el=embedded', '&el=detailpage', '&el=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%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)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue