1
1
mirror of https://github.com/neosubhamoy/pytubepp.git synced 2025-12-20 03:29:36 +05:30

(refactor): incresed space between hifen author and title

This commit is contained in:
2024-09-25 14:13:48 +05:30
parent f1778a2859
commit 5ee75cd3d5

View File

@@ -250,7 +250,7 @@ def set_global_video_info(link):
link = is_valid_url(link).group(1) link = is_valid_url(link).group(1)
video = YouTube(link, 'ANDROID_VR', on_progress_callback=progress) video = YouTube(link, 'ANDROID_VR', on_progress_callback=progress)
author = video.author author = video.author
title = re.sub(r'[\\/*?:"<>|]', '_', author + '-' + video.title) title = re.sub(r'[\\/*?:"<>|]', '_', author + ' - ' + video.title)
thumbnail = video.thumbnail_url thumbnail = video.thumbnail_url
views = str(video.views) views = str(video.views)
stream = video.streams stream = video.streams