mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 21:07:17 +08:00
download video ext fix
This commit is contained in:
parent
d9de9d5595
commit
e3f32c957b
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user