Chrunos commited on
Commit
2c7f686
·
verified ·
1 Parent(s): 4e5f4ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -540,7 +540,7 @@ async def download_high_quality_video(request: Request):
540
  }
541
 
542
  if is_youtube_url:
543
- dl_url = await get_audio_download_url(video_url)
544
  if dl_url and "http" in dl_url:
545
  return {"url": dl_url, "requests_remaining": rate_limiter.max_requests - rate_limiter.get_current_count(user_ip)}
546
  else:
 
540
  }
541
 
542
  if is_youtube_url:
543
+ dl_url = await get_audio_download_url(video_url, quality)
544
  if dl_url and "http" in dl_url:
545
  return {"url": dl_url, "requests_remaining": rate_limiter.max_requests - rate_limiter.get_current_count(user_ip)}
546
  else: