Update main.py

This commit is contained in:
TylerCG 2025-04-22 22:27:53 -04:00
parent b58ccf9629
commit 122d7b6ffe

View File

@ -30,11 +30,11 @@ async def dropoutSeries():
return JSONResponse(content=data)
return JSONResponse(content={"error": "File not found"}, status_code=404)
@app.get("/dropoutDownload")
@app.post("/dropoutDownload")
async def dropoutDownload(show: str, season: str, episode: str = None):
download.dropout.show(show,season,episode)
@app.get("/ydl")
@app.post("/ydl")
async def ydl(url: str, location: str):
download.youtube.ydl(url,location)