nifty-coder commited on
Commit
a8986ef
·
1 Parent(s): 6fb5dda
Files changed (2) hide show
  1. __pycache__/main.cpython-314.pyc +0 -0
  2. main.py +1 -1
__pycache__/main.cpython-314.pyc CHANGED
Binary files a/__pycache__/main.cpython-314.pyc and b/__pycache__/main.cpython-314.pyc differ
 
main.py CHANGED
@@ -317,7 +317,7 @@ def process_youtube_audio(data: YouTubeInput, background_tasks: BackgroundTasks)
317
  "--add-header", "Referer: https://www.google.com",
318
  "-o", audio_path, data.youtube_url
319
  ]
320
- if os.environ.get('YTDLP_COOKIES_FILE'): dl_cmd.extend(["--cookies", os.environ['YTDLP_COOKIES_FILE']])
321
  if PO_TOKEN: dl_cmd.extend(["--extractor-args", f"youtube:po_token={PO_TOKEN}"])
322
  if FFMPEG_DIR: dl_cmd.extend(["--ffmpeg-location", FFMPEG_DIR])
323
 
 
317
  "--add-header", "Referer: https://www.google.com",
318
  "-o", audio_path, data.youtube_url
319
  ]
320
+ # if os.environ.get('YTDLP_COOKIES_FILE'): dl_cmd.extend(["--cookies", os.environ['YTDLP_COOKIES_FILE']])
321
  if PO_TOKEN: dl_cmd.extend(["--extractor-args", f"youtube:po_token={PO_TOKEN}"])
322
  if FFMPEG_DIR: dl_cmd.extend(["--ffmpeg-location", FFMPEG_DIR])
323