()
| 1860 | |
| 1861 | @app.route('/api/scrape/status', methods=['POST']) |
| 1862 | def scrape_status(): |
| 1863 | data = request.json |
| 1864 | task_ids = data.get('taskIds', []) |
| 1865 | results = {} |
| 1866 | for tid in task_ids: |
| 1867 | if tid in scrape_manager.tasks: |
| 1868 | results[tid] = scrape_manager.tasks[tid] |
| 1869 | return jsonify({"status": "ok", "tasks": results}) |
| 1870 | |
| 1871 | @app.route('/api/scrape/download/<task_id>', methods=['GET']) |
| 1872 | def scrape_download(task_id): |
nothing calls this directly
no outgoing calls
no test coverage detected