mimbres commited on
Commit
0fa40b5
·
verified ·
1 Parent(s): 90d042c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -93,7 +93,8 @@ def prepare_media(source_path_or_url: os.PathLike,
93
  # '--force-overwrites', '--cookies', 'amt/src/extras/c.txt'])
94
  subprocess.run(['yt-dlp', '-x', source_path_or_url, '-f', 'bestaudio',
95
  '-o', audio_file, '--audio-format', 'mp3', '--restrict-filenames',
96
- '--force-overwrites', '--cache-dir', 'amt/src/extras/auth2'])
 
97
  audio_file += '.mp3'
98
  except Exception as e:
99
  print(f"Alternative downloader failed, error: {e}. Please try again later!")
 
93
  # '--force-overwrites', '--cookies', 'amt/src/extras/c.txt'])
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
+ '--cache-dir', 'amt/src/extras/auth2'])
98
  audio_file += '.mp3'
99
  except Exception as e:
100
  print(f"Alternative downloader failed, error: {e}. Please try again later!")