Update main.py
This commit is contained in:
parent
b58ccf9629
commit
122d7b6ffe
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user