hot fix host_name type signature

This commit is contained in:
yoonthegoon 2023-08-04 23:21:39 -04:00
parent cfc1f7c910
commit c4f567a00a

View file

@ -354,7 +354,7 @@ async def store(
if store_results:
email_list, host_names, urls = await search_engine.get_results()
all_emails.extend(email_list)
host_names = [{host for host in host_names if f".{word}" in host}]
host_names = list({host for host in host_names if f".{word}" in host})
all_urls.extend(urls)
all_hosts.extend(host_names)
await db.store_all(word, all_hosts, "host", source)