download video ext fix
This commit is contained in:
parent
e3f32c957b
commit
9b21d732f1
@ -33,7 +33,7 @@ class TikTokTestYoutubeDl(unittest.TestCase):
|
||||
params = {}
|
||||
ydl = youtube_dl.YoutubeDL(params)
|
||||
info = ydl.extract_info(url, download=True)
|
||||
file_name="Imagine lebron freaking out over something you did! #foryou #ballislife #lebron #nba-6783617809113943301.mp.4"
|
||||
file_name="Imagine lebron freaking out over something you did! #foryou #ballislife #lebron #nba-6783617809113943301.mp4"
|
||||
self.assertTrue(os.path.exists(file_name))
|
||||
os.remove(file_name)
|
||||
|
||||
|
@ -22,8 +22,8 @@ class TikTokBaseIE(InfoExtractor):
|
||||
formats.append({
|
||||
'url': format,
|
||||
'height': height,
|
||||
'ext': 'mp4',
|
||||
'width': width,
|
||||
'ext': 'mp4',
|
||||
})
|
||||
self._sort_formats(formats)
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user