MCPcopy Create free account
hub / github.com/CScorza/IntelOSINT / scrape_status

Function scrape_status

IntelOSINT.py:1862–1869  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1860
1861@app.route('/api/scrape/status', methods=['POST'])
1862def 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'])
1872def scrape_download(task_id):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected