Skip to content

Commit

Permalink
laramies#1383 assign self.info typing
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonthegoon committed Jul 24, 2023
1 parent 0706579 commit 0b371c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion theHarvester/discovery/intelxsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, word) -> None:
raise MissingKey("Intelx")
self.database = "https://2.intelx.io"
self.results: Any = None
self.info = ()
self.info: tuple[Any, ...] = ()
self.limit: int = 10000
self.proxy = False
self.offset = -1
Expand Down Expand Up @@ -68,6 +68,7 @@ async def process(self, proxy: bool = False):
self.proxy = proxy
await self.do_search()
intelx_parser = intelxparser.Parser()
# TODO: give self.info more appropriate typing
self.info = await intelx_parser.parse_dictionaries(self.results)

async def get_emails(self):
Expand Down

0 comments on commit 0b371c5

Please sign in to comment.