Skip to content

People Lookup errorΒ #543

@shahil-sk

Description

@shahil-sk

Describe the bug
Tool not working properly gives some people error when ran.
installed via pipx and also tried multiple reinstall still same issue

Log
sk@beast:~$ ghunt email <email.com>

 .d8888b.  888    888                   888    
d88P  Y88b 888    888                   888    
888    888 888    888                   888    
888        8888888888 888  888 88888b.  888888 
888  88888 888    888 888  888 888 "88b 888    
888    888 888    888 888  888 888  888 888    
Y88b  d88P 888    888 Y88b 888 888  888 Y88b.  
 "Y8888P88 888    888  "Y88888 888  888  "Y888 v2

         By: mxrch (🐦 @mxrchreborn)
   Support my work on GitHub Sponsors ! πŸ’–


     > GHunt 2.3.3 (πŸ•·οΈ  Spider Edition) <        

πŸŽ‰ You are up to date !

[+] Stored session loaded !
[+] Authenticated !

Traceback (most recent call last):
File "/home/sk/.local/bin/ghunt", line 8, in
sys.exit(main())
^^^^^^
File "/home/sk/.local/share/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/ghunt.py", line 18, in main
parse_and_run()
File "/home/sk/.local/share/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/cli.py", line 63, in parse_and_run
process_args(args)
File "/home/sk/.local/share/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/cli.py", line 73, in process_args
asyncio.run(email.hunt(None, args.email_address, args.json))
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/sk/.local/share/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/modules/email.py", line 25, in hunt
is_found, target = await people_pa.people_lookup(as_client, email_address, params_template="max_details")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sk/.local/share/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/apis/peoplepa.py", line 120, in people_lookup
person_data = list(data["people"].values())[0]
~~~~^^^^^^^^^^
KeyError: 'people'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions