From fb021fb7168a9f13b3fc640a3ba4c88cd3f2d06f Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Fri, 7 Mar 2025 10:06:29 +0530 Subject: [PATCH] (refactor): removed defaulting to 'WEB' client --- pytubepp/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytubepp/main.py b/pytubepp/main.py index aae46a5..0e21c15 100644 --- a/pytubepp/main.py +++ b/pytubepp/main.py @@ -51,7 +51,7 @@ class YouTubeDownloader: if is_valid_url(link): link = is_valid_url(link).group(1) - self.video = YouTube(link, 'WEB', on_progress_callback=progress) + self.video = YouTube(link, on_progress_callback=progress) self.author = self.video.author self.title = re.sub(r'[\\/*?:"<>|]', '_', self.author + ' - ' + self.video.title) self.thumbnail = self.video.thumbnail_url