From c4f567a00a9697512f9b840c9b555c18d36f9e73 Mon Sep 17 00:00:00 2001 From: yoonthegoon <71526721+yoonthegoon@users.noreply.github.com> Date: Fri, 4 Aug 2023 23:21:39 -0400 Subject: [PATCH] hot fix host_name type signature --- theHarvester/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index 0ef062cb..e480aa5a 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -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)