Update main.py
Browse files
main.py
CHANGED
|
@@ -266,7 +266,7 @@ async def tiktok_cdn(
|
|
| 266 |
headers={"Content-Disposition": f"attachment; filename=Celeste_{int(time.time())}.{media_type_req}"}
|
| 267 |
)
|
| 268 |
|
| 269 |
-
raise HTTPException(status_code=400, detail="Provide either 'url' or '
|
| 270 |
|
| 271 |
@app.get("/api/v1/youtube/dl")
|
| 272 |
async def youtube_dl(
|
|
|
|
| 266 |
headers={"Content-Disposition": f"attachment; filename=Celeste_{int(time.time())}.{media_type_req}"}
|
| 267 |
)
|
| 268 |
|
| 269 |
+
raise HTTPException(status_code=400, detail="Provide either 'url' or 'token'")
|
| 270 |
|
| 271 |
@app.get("/api/v1/youtube/dl")
|
| 272 |
async def youtube_dl(
|