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'...",