Skip to content

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

@themarcman314

Description

@themarcman314

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

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