RIPLEY
This commit is contained in:
parent
23199338ec
commit
4fda4c24bb
Binary file not shown.
@ -92,3 +92,12 @@ class NetworkDiscoveryService:
|
|||||||
person.photo_url = found_photo or f"https://api.dicebear.com/7.x/initials/svg?seed={quote(query)}"
|
person.photo_url = found_photo or f"https://api.dicebear.com/7.x/initials/svg?seed={quote(query)}"
|
||||||
person.save()
|
person.save()
|
||||||
return person
|
return person
|
||||||
|
|
||||||
|
class EntityResolutionService:
|
||||||
|
@staticmethod
|
||||||
|
def resolve(data):
|
||||||
|
# Fallback to NetworkDiscoveryService for now
|
||||||
|
query = data.get('query')
|
||||||
|
if query:
|
||||||
|
return NetworkDiscoveryService.perform_osint_search(query)
|
||||||
|
return None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user