Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def prepare_media(source_path_or_url: os.PathLike,
|
|
94 |
subprocess.run(['yt-dlp', '-x', source_path_or_url, '-f', 'bestaudio',
|
95 |
'-o', audio_file, '--audio-format', 'mp3', '--restrict-filenames',
|
96 |
'--force-overwrites', '--username', '[email protected]', '--password', '',
|
97 |
-
'
|
98 |
audio_file += '.mp3'
|
99 |
except Exception as e:
|
100 |
print(f"Alternative downloader failed, error: {e}. Please try again later!")
|
|
|
94 |
subprocess.run(['yt-dlp', '-x', source_path_or_url, '-f', 'bestaudio',
|
95 |
'-o', audio_file, '--audio-format', 'mp3', '--restrict-filenames',
|
96 |
'--force-overwrites', '--username', '[email protected]', '--password', '',
|
97 |
+
'-v'])
|
98 |
audio_file += '.mp3'
|
99 |
except Exception as e:
|
100 |
print(f"Alternative downloader failed, error: {e}. Please try again later!")
|