Crash when photo is missing - Python 3.13
Author: fujibearlyCreated Aug 20, 2026Updated Sep 16, 2026
Describe the bug running ghunt email crashes the script if the target account doesn't have a photo? Happens both in stdout and in --json output.
To Reproduce
- Run ghunt email [email protected] (where abc has no photos associated)
- Python script will crash.
- Run ghunt email [email protected] --json out.json
- Python script will crash
Expected behavior ghunt should gracefully handle the lack of certain fields.
Screenshots If applicable, add screenshots to help explain your problem.
System (please complete the following information):
- Arch Linux - Kernel 6.19
- Python version 3.13
Additional context Add any other context about the problem here.
Source: mxrch/GHunt