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

Method social_snapshot

IntelOSINT.py:10663–10677  ·  view source on GitHub ↗
(self, target, platform, source="enhanced_scraper", results=None)

Source from the content-addressed store, hash-verified

10661 return snap
10662
10663 def social_snapshot(self, target, platform, source="enhanced_scraper", results=None):
10664 target = (str(target or "").strip())
10665 platform = str(platform or "Instagram").strip() or "Instagram"
10666 if platform.lower() not in {"instagram", "ig", "insta"}:
10667 return None
10668 if not target:
10669 return None
10670
10671 if results is None:
10672 results = self.enhanced_scraper(target, "Instagram")
10673 if not isinstance(results, list):
10674 results = [results] if results else []
10675 if not isinstance(results, list):
10676 results = []
10677 return self._append_social_snapshot(target, "Instagram", results, source=source)
10678
10679 def save_creds(self, d):
10680 incoming = dict(d or {})

Callers 2

_social_watch_workerFunction · 0.80
api_social_snapshotFunction · 0.80

Calls 2

enhanced_scraperMethod · 0.95

Tested by

no test coverage detected