1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 17:57:14 +08:00

download video ext fix

This commit is contained in:
bhodaya 2020-05-06 12:32:25 +03:00
parent d9de9d5595
commit e3f32c957b

View File

@ -21,8 +21,8 @@ class TikTokBaseIE(InfoExtractor):
for format in format_urls: for format in format_urls:
formats.append({ formats.append({
'url': format, 'url': format,
'ext': 'mp4',
'height': height, 'height': height,
'ext': 'mp4',
'width': width, 'width': width,
}) })
self._sort_formats(formats) self._sort_formats(formats)
@ -109,7 +109,6 @@ class TikTokIE(TikTokBaseIE):
'subtitles': subtitles, 'subtitles': subtitles,
'comment_count': comment_count, 'comment_count': comment_count,
'duration': duration, 'duration': duration,
'ext':'mp4',
'embed_code': embed_code, 'embed_code': embed_code,
'formats': format 'formats': format
} }