about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2011-04-20 21:29:29 -0300
committerRogério Brito <rbrito@ime.usp.br>2011-04-20 21:29:29 -0300
commit2fc31a48723fd4f84c20cf97f810f0171419bcf1 (patch)
treeb8d4f1221dc50eb3d15b37b23ee6e9b7f98fb089
parent44c636df8966a1ace617b276f19b5887aa66d612 (diff)
downloadyoutube-dl-2fc31a48723fd4f84c20cf97f810f0171419bcf1.tar.gz
youtube-dl-2fc31a48723fd4f84c20cf97f810f0171419bcf1.tar.xz
youtube-dl-2fc31a48723fd4f84c20cf97f810f0171419bcf1.zip
vimeo: Apparently, all videos in vimeo are served in ISO containers.
-rwxr-xr-xyoutube-dl3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube-dl b/youtube-dl
index f3d7a3f61..b734c997c 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -1754,7 +1754,6 @@ class VimeoIE(InfoExtractor):
 		# At this point we have a new video
 		self._downloader.increment_downloads()
 		video_id = mobj.group(1)
-		video_extension = 'flv' # FIXME
 
 		# Retrieve video webpage to extract further information
 		request = urllib2.Request("http://vimeo.com/moogaloop/load/clip:%s" % video_id, None, std_headers)
@@ -1826,7 +1825,7 @@ class VimeoIE(InfoExtractor):
 				'upload_date':	u'NA',
 				'title':	video_title,
 				'stitle':	simple_title,
-				'ext':		video_extension.decode('utf-8'),
+				'ext':		u'mp4',
 				'thumbnail':	video_thumbnail.decode('utf-8'),
 				'description':	video_description,
 				'thumbnail':	video_thumbnail,