From 4e01c20cd3aefaf28848685115f94bb084e1cfa2 Mon Sep 17 00:00:00 2001 From: neosubhamoy Date: Thu, 26 Sep 2024 19:39:10 +0530 Subject: [PATCH] (refactor): removed ANDROID_VR as it's now default from Pytubefix 7.0.0 --- pytubepp/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytubepp/main.py b/pytubepp/main.py index 3c01790..90541e9 100644 --- a/pytubepp/main.py +++ b/pytubepp/main.py @@ -248,7 +248,7 @@ def set_global_video_info(link): if is_valid_url(link): global video, author, title, thumbnail, views, stream, stream_resolutions, maxres link = is_valid_url(link).group(1) - video = YouTube(link, 'ANDROID_VR', on_progress_callback=progress) + video = YouTube(link, on_progress_callback=progress) author = video.author title = re.sub(r'[\\/*?:"<>|]', '_', author + ' - ' + video.title) thumbnail = video.thumbnail_url