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():