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

Method worker

IntelOSINT.py:18325–18344  ·  view source on GitHub ↗
(site)

Source from the content-addressed store, hash-verified

18323 results = []
18324
18325 def worker(site):
18326 r = self._wmn_perform_request(site, account)
18327 if self._wmn_match_result(r, site) is not True:
18328 return None
18329 pretty = self._wmn_pretty_url(site, account)
18330 src = site.get("uri_pretty") or site.get("uri_check")
18331 icon = self._wmn_favicon_from_url(src) or wmn_fallback
18332 name = site.get("name") or "Unknown"
18333 return {
18334 "username": account,
18335 "type": name,
18336 "info": {
18337 "Status": " Profilo trovato (WhatsMyName)",
18338 "Fonte": "WhatsMyName social",
18339 "HTTP": str(r.status_code) if r else "",
18340 },
18341 "main_img": icon,
18342 "status_code": 200,
18343 "url": pretty,
18344 }
18345
18346 max_workers = min(32, max(4, len(sites) // 4 or 4))
18347 with ThreadPoolExecutor(max_workers=max_workers) as ex:

Callers

nothing calls this directly

Calls 4

_wmn_perform_requestMethod · 0.95
_wmn_match_resultMethod · 0.95
_wmn_pretty_urlMethod · 0.95
_wmn_favicon_from_urlMethod · 0.95

Tested by

no test coverage detected