From f922e835e30578c2bdca473516b8f200928a3c29 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sat, 28 Dec 2024 20:00:03 +0200 Subject: [PATCH] remove 3 dots --- get_peertube_videos/get_peertube_videos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_peertube_videos/get_peertube_videos.py b/get_peertube_videos/get_peertube_videos.py index 5306bcd..ef63975 100644 --- a/get_peertube_videos/get_peertube_videos.py +++ b/get_peertube_videos/get_peertube_videos.py @@ -123,7 +123,7 @@ class GetPeertubeVideos: self._write_downloaded_items() elif 'video' in selected['type']: file_extension = selected['type'].replace('video/', '.') - file_name = os.path.normpath(f"{item['title']}{file_extension}").replace('\\', '-').replace('/', '-').replace(':', '.') + file_name = os.path.normpath(f"{item['title']}{file_extension}").replace('\\', '-').replace('/', '-').replace(':', '.').replace('...', '') full_file_name = os.path.join(self.config['download_dir'], file_name) self._log.info( "Downloading video '%s' as '%s'...",