add dot
This commit is contained in:
parent
9fd5352f2d
commit
d544ecf12e
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class GetPeertubeVideos:
|
|||
sel_thumb = thumb
|
||||
if 'url' in sel_thumb:
|
||||
split_url = sel_thumb['url'].split('.')
|
||||
thumb_file_name = file_name.replace(file_extension, split_url[len(split_url)-1])
|
||||
thumb_file_name = file_name.replace(file_extension, f".{split_url[len(split_url)-1]}")
|
||||
full_thumb_file_name = os.path.join(self.config['download_dir'], thumb_file_name)
|
||||
result = self.session.get(sel_thumb['url'])
|
||||
thumb_bytes = result.content
|
||||
|
|
Loading…
Reference in a new issue