From e8baeb3bcf1687c38dc49dbabd806c9a4ad1d839 Mon Sep 17 00:00:00 2001 From: zwitschi Date: Wed, 21 Jan 2026 18:46:37 +0100 Subject: [PATCH] fix: update scrape route to support both GET and POST methods --- web/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app.py b/web/app.py index b2af400..c82339b 100644 --- a/web/app.py +++ b/web/app.py @@ -277,7 +277,7 @@ def set_favorite(job_id): csrf.exempt(set_favorite) -@app.route('/scrape', methods=['POST']) +@app.route('/scrape', methods=['GET', 'POST']) def scrape(): """Trigger the web scraping process with streaming output.""" def generate():