vimeo: Apparently, all videos in vimeo are served in ISO containers.
[youtube-dl] / youtube-dl
index f3d7a3f61f5f8addf1f3c04214c6245b35147490..b734c997c8e3678dae2a48bc12c4bbf33db0becf 100755 (executable)
@@ -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,