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

Function scrape_start

IntelOSINT.py:1849–1859  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1847
1848@app.route('/api/scrape/start', methods=['POST'])
1849def scrape_start():
1850 data = request.json
1851 target = data.get('target')
1852 platform = data.get('platform')
1853 options = data.get('options', {})
1854
1855 if not target or not platform:
1856 return jsonify({"status": "error", "message": "Target or platform missing"}), 400
1857
1858 task_id = scrape_manager.start_task(target, platform, options)
1859 return jsonify({"status": "ok", "taskId": task_id})
1860
1861@app.route('/api/scrape/status', methods=['POST'])
1862def scrape_status():

Callers

nothing calls this directly

Calls 1

start_taskMethod · 0.80

Tested by

no test coverage detected