Chrunos commited on
Commit
b812710
·
verified ·
1 Parent(s): 16ff140

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -3
main.py CHANGED
@@ -242,12 +242,13 @@ async def download_video_max_quality(request: Request, payload: MaxDownloadReque
242
 
243
  # --- yt-dlp Options for Video Download ---
244
  ydl_opts = {
245
- 'format': '625', #format_selector,
246
  'outtmpl': str(file_path_stem.with_suffix('.%(ext)s')),
247
  'merge_output_format': 'mp4', # Merge into MP4 container
248
  'noplaylist': True,
249
- 'quiet': True,
250
- 'noprogress': True
 
251
  }
252
  if os.path.exists(COOKIE_FILE):
253
  ydl_opts['cookiefile'] = COOKIE_FILE
 
242
 
243
  # --- yt-dlp Options for Video Download ---
244
  ydl_opts = {
245
+ 'format': format_selector,
246
  'outtmpl': str(file_path_stem.with_suffix('.%(ext)s')),
247
  'merge_output_format': 'mp4', # Merge into MP4 container
248
  'noplaylist': True,
249
+ 'quiet': False,
250
+ 'verbose': True,
251
+ 'noprogress': False
252
  }
253
  if os.path.exists(COOKIE_FILE):
254
  ydl_opts['cookiefile'] = COOKIE_FILE