Skip to content

Crash when photo is missing - Python 3.13 #608

Description

@fujibearly

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

  1. Run ghunt email abc...@gmail.com (where abc has no photos associated)
  2. Python script will crash.
  3. Run ghunt email abc..@gmail.com --json out.json
  4. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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