From 5ee75cd3d5407aee47ca7ee10024418bcf224f1c Mon Sep 17 00:00:00 2001 From: neosubhamoy Date: Wed, 25 Sep 2024 14:13:48 +0530 Subject: [PATCH] (refactor): incresed space between hifen author and title --- pytubepp/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytubepp/main.py b/pytubepp/main.py index 5e49cf9..64b7583 100644 --- a/pytubepp/main.py +++ b/pytubepp/main.py @@ -250,7 +250,7 @@ def set_global_video_info(link): link = is_valid_url(link).group(1) video = YouTube(link, 'ANDROID_VR', on_progress_callback=progress) author = video.author - title = re.sub(r'[\\/*?:"<>|]', '_', author + '-' + video.title) + title = re.sub(r'[\\/*?:"<>|]', '_', author + ' - ' + video.title) thumbnail = video.thumbnail_url views = str(video.views) stream = video.streams