Chrunos commited on
Commit
5fd66ad
·
verified ·
1 Parent(s): e7f1089

Update srv.py

Browse files
Files changed (1) hide show
  1. srv.py +1 -1
srv.py CHANGED
@@ -63,7 +63,7 @@ def download_audio():
63
 
64
  # Set up yt-dlp options to download only audio
65
  ydl_opts = {
66
- 'format': 'bestaudio/best', # Download the best available audio
67
  'outtmpl': file_name.rsplit('.', 1)[0] + '.%(ext)s', # Output filename format
68
  'cookiefile': 'www.youtube.com_cookies.txt', # Use cookies file if needed
69
  'postprocessors': [{
 
63
 
64
  # Set up yt-dlp options to download only audio
65
  ydl_opts = {
66
+ 'format': '140/bestaudio', # Download the best available audio
67
  'outtmpl': file_name.rsplit('.', 1)[0] + '.%(ext)s', # Output filename format
68
  'cookiefile': 'www.youtube.com_cookies.txt', # Use cookies file if needed
69
  'postprocessors': [{