aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-05-21 21:24:37 +0200
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:27:01 +0100
commit787f2a5d9570bcbd94eae9d54ee2dfaeef1a7ad4 (patch)
tree666d0140fff057b8829b6a88ebc16baecd5ab62e
parent42e3546fb53c016a5a10ffdd60dc50c5f4e1234e (diff)
Also try no "el" option in get_video_info (fixes issue #130)
-rwxr-xr-xyoutube-dl4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube-dl b/youtube-dl
index 72b09a0c2..0f1d31c4e 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -804,8 +804,8 @@ class YoutubeIE(InfoExtractor):
# Get video info
self.report_video_info_webpage_download(video_id)
- 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'
+ for el_type in ['&el=embedded', '&el=detailpage', '&el=vevo', '']:
+ 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))
request = urllib2.Request(video_info_url, None, std_headers)
try: