Skip to content

Issues with gomaps in Colab #8

Description

@ViksaaSkool

I was trying out your library in Google Colab and I've came across a strange issue(s).

whenever I try the given example:

from gomaps import maps_search
results = maps_search("Tops Diner")

or I try this query: "SPIwash Magyarország Kft., Budapest, Liberty Square Garage, Szabadság tér, 1054 Hungary", I get results.

It looks like this:

2024-04-01_23-44-30

ANYTHING ELSE, results into RuntimeError: Cannot use HTMLSession within an existing event loop. Use AsyncHTMLSession instead.

For example:

2024-04-01_23-42-10

Also, if I try to get_values() I end up in the same situation:

2024-04-01_23-46-21

Do you have any idea why is that?

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