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

Method start_task

IntelOSINT.py:599–610  ·  view source on GitHub ↗
(self, target, platform, options)

Source from the content-addressed store, hash-verified

597 raise RuntimeError(f"HTTP request fallita: {url}")
598
599 def start_task(self, target, platform, options):
600 task_id = str(uuid.uuid4())
601 self.tasks[task_id] = {
602 'target': target,
603 'platform': platform,
604 'options': options,
605 'status': 'running',
606 'progress': 0,
607 'result_file': None
608 }
609 threading.Thread(target=self._run_scrape, args=(task_id,), daemon=True).start()
610 return task_id
611
612 def _run_scrape(self, task_id):
613 task = self.tasks[task_id]

Callers 1

scrape_startFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected