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

403 Client Error: Forbidden for url #11

Open
slim-kimmy opened this issue Jun 20, 2024 · 2 comments
Open

403 Client Error: Forbidden for url #11

slim-kimmy opened this issue Jun 20, 2024 · 2 comments

Comments

@slim-kimmy
Copy link

slim-kimmy commented Jun 20, 2024

Hi I was unable to install it from pip due to it not having a setup.py file so I just ran it from my IDE.
This is my error:
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://nominatim.openstreetmap.org/search?q=Calgary,%20AB&format=json (I am running the example in the readme)

I have run it for the first time, all my versions match, do I need to register for the realtor.ca and get some kind of authorization ?
Not sure what to do lol.

Thanks

@harry-s-grewal
Copy link
Owner

openstreetmap.org is unrelated to realtor.ca. Are you sure you're getting a 403 error for that, and not for realtor.ca? Because that endpoint works when I CURL it directly.

Note, realtor.ca will block IP addresses that ping it more than 3 times for one hour. That is unavoidable and will also cause a 403 client error.

@DmacMcgreg
Copy link

Getting 403 having only pinged it once... is this still working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants