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

Method _is_generic_image

IntelOSINT.py:14992–15010  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

14990 return ""
14991
14992 def _is_generic_image(value):
14993 if not isinstance(value, str):
14994 return False
14995 s = value.lower()
14996 if not s:
14997 return False
14998 generic_tokens = [
14999 "onlyfans.com/logo",
15000 "onlyfans.com/static",
15001 "onlyfans.com/assets",
15002 "default_avatar",
15003 "default-avatar",
15004 "avatar-default",
15005 "blank-avatar",
15006 "placeholder",
15007 "no-image",
15008 "/no-image/",
15009 ]
15010 return any(t in s for t in generic_tokens)
15011
15012 def _pick_profile_name(profile):
15013 if not isinstance(profile, dict):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected