]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vimeo] 'ext' must be a string, not a tuple (fixes #8288)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 21 Jan 2016 11:43:45 +0000 (12:43 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 21 Jan 2016 11:43:45 +0000 (12:43 +0100)
There was an ',' at the end of the line.

youtube_dl/extractor/vimeo.py

index 76e681bc360c5d45e7287413c1054dbdee8c84a8..2389e7f0f4af5b828f76f17765fa4bcf61b424f8 100644 (file)
@@ -430,7 +430,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
                 if download_url and not source_file.get('is_cold') and not source_file.get('is_defrosting'):
                     source_name = source_file.get('public_name', 'Original')
                     if self._is_valid_url(download_url, video_id, '%s video' % source_name):
-                        ext = source_file.get('extension', determine_ext(download_url)).lower(),
+                        ext = source_file.get('extension', determine_ext(download_url)).lower()
                         formats.append({
                             'url': download_url,
                             'ext': ext,