From: Arthur Taft Date: Tue, 23 Sep 2025 22:59:08 +0000 (-0600) Subject: fix pip package upgrade X-Git-Url: https://gitweb.arthurtaft.net/yt-dlp-wrapper.git/commitdiff_plain/798e98375ff00d91fd32ad57fdff913a3a8555c3?ds=inline fix pip package upgrade --- 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()