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

Does this still work, in countries other than US and Canada like France for example? #124

Open
themarcman314 opened this issue May 11, 2024 · 0 comments

Comments

@themarcman314
Copy link

I've tried several things in the 3rd parameter of the adress object, here is the traceback :

Traceback (most recent call last):
  File "/home/marcman/projects/python/bin/../test.py", line 6, in <module>
    store = address.closest_store()
            ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcman/projects/python/lib/python3.12/site-packages/pizzapi/address.py", line 54, in closest_store
    stores = self.nearby_stores(service=service)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcman/projects/python/lib/python3.12/site-packages/pizzapi/address.py", line 49, in nearby_stores
    data = request_json(self.urls.find_url(), line1=self.line1, line2=self.line2, type=service)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marcman/projects/python/lib/python3.12/site-packages/pizzapi/utils.py", line 16, in request_json
    r.raise_for_status()
  File "/home/marcman/projects/python/lib/python3.12/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://order.dominos.com/power/myaddresshere
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

1 participant