From 798e98375ff00d91fd32ad57fdff913a3a8555c3 Mon Sep 17 00:00:00 2001 From: Arthur Taft Date: Tue, 23 Sep 2025 16:59:08 -0600 Subject: [PATCH] fix pip package upgrade --- universal/yt-dlp-wrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/universal/yt-dlp-wrapper.py b/universal/yt-dlp-wrapper.py index 6d931dc..91d6773 100644 --- a/universal/yt-dlp-wrapper.py +++ b/universal/yt-dlp-wrapper.py @@ -43,7 +43,7 @@ def normal_convert(): match format: case "audio": - run(['yt-dlp', '-x', '-f', 'ba', '--audio-format', 'mp3', '-o', f'{audio_title}', f'{url}']) + run(['yt-dlp', '-x', '-f', 'ba', '--audio-format', 'wav', '-o', f'{audio_title}', f'{url}']) while val != True: do_continue = str(input("Do you want to convert another file? (y/n): ")).lower() match do_continue: @@ -69,7 +69,7 @@ def normal_convert(): case _: print("Response must be 'Audio' or 'Video'!") -run(['pip', 'install', '--update', '-r', f'{requirements}']) +run(['pip', 'install', '--upgrade', '-r', f'{requirements}']) if not audio_dir.exists(): audio_dir.mkdir() -- 2.51.2