From d6f2378d6fc75b957c49ab70337dbb9aff974324 Mon Sep 17 00:00:00 2001 From: TylerCG <117808427+TylerCG@users.noreply.github.com> Date: Mon, 12 May 2025 11:12:04 -0400 Subject: [PATCH] Update main.py --- app/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/main.py b/app/main.py index 4452353..6ecf132 100644 --- a/app/main.py +++ b/app/main.py @@ -96,10 +96,13 @@ async def dropoutSeries(): @app.post("/dropout/download", description="Download an entire season from episode 1. Ignores behind the scenes and trailers.") async def dropoutDownload( + request: Request, background_tasks: BackgroundTasks, show: str = Form(...), season: int = Form(...) ): + data = await request.json() + logger.info(f"Parsed JSON Body: {json.dumps(data, indent=2)}") try: background_tasks.add_task(download.dropout.show,show,season,None) # download.dropout.show(show,season,episode)