Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maps analysis causes systematic error #500

Closed
unguest opened this issue Feb 6, 2024 · 3 comments
Closed

Maps analysis causes systematic error #500

unguest opened this issue Feb 6, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@unguest
Copy link

unguest commented Feb 6, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Launch any email analysis

Expected behavior
Having an analysis of Maps contributions.

Trace

Traceback (most recent call last):
  File "/Users/unguest/.local/bin/ghunt", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/unguest/Library/Application Support/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/ghunt.py", line 18, in main
    parse_and_run()
  File "/Users/unguest/Library/Application Support/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/cli.py", line 31, in parse_and_run
    process_args(args)
  File "/Users/unguest/Library/Application Support/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/cli.py", line 41, in process_args
    asyncio.run(email.hunt(None, args.email_address, args.json))
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 664, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/unguest/Library/Application Support/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/modules/email.py", line 116, in hunt
    err, stats, reviews, photos = await gmaps.get_reviews(as_client, target.personId)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/unguest/Library/Application Support/pipx/venvs/ghunt/lib/python3.12/site-packages/ghunt/helpers/gmaps.py", line 88, in get_reviews
    review.id = review_data[0][10]
                ~~~~~~~~~~~~~~^^^^
TypeError: 'NoneType' object is not subscriptable

System (please complete the following information):

  • OSX
  • Python3.12

Additional context
Maybe something changed in Maps' pages architecture ?

@mxrch mxrch added the bug Something isn't working label Feb 6, 2024
@mxrch
Copy link
Owner

mxrch commented Feb 6, 2024

I confirm the bug, Google changed something. I'm on it

@mxrch mxrch self-assigned this Feb 6, 2024
@mxrch
Copy link
Owner

mxrch commented Feb 6, 2024

Omg the parsing has completely changed.. 😖

@mxrch
Copy link
Owner

mxrch commented Feb 6, 2024

Fixed, please pipx upgrade ghunt.

@mxrch mxrch closed this as completed Feb 6, 2024
@mxrch mxrch pinned this issue Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants