Chrunos commited on
Commit
6e3953c
·
verified ·
1 Parent(s): f7f1cf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -355,7 +355,7 @@ async def create_spot_dl_link(request: SpotDlRequest = Body(...)):
355
  # URL-encode the input URL
356
  encoded_url = urllib.parse.quote(str(request.url))
357
  # Construct the target URL
358
- output_url = f"https://velynapi.vercel.app/api/downloader/spotifydl?url{encoded_url}"
359
  return SpotDlResponse(download_url=output_url)
360
  elif request.quality == "320" or request.quality == "FLAC":
361
  # If quality is 320 or FLAC, return an error as per requirements
 
355
  # URL-encode the input URL
356
  encoded_url = urllib.parse.quote(str(request.url))
357
  # Construct the target URL
358
+ output_url = f"https://velynapi.vercel.app/api/downloader/spotifydl?url={encoded_url}"
359
  return SpotDlResponse(download_url=output_url)
360
  elif request.quality == "320" or request.quality == "FLAC":
361
  # If quality is 320 or FLAC, return an error as per requirements