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

Update Photon domain #481

Merged
merged 1 commit into from Apr 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions geopy/geocoders/photon.py
Expand Up @@ -11,7 +11,7 @@

class Photon(Geocoder):
"""Geocoder using Photon geocoding service (data based on OpenStreetMap
and service provided by Komoot on https://photon.komoot.de).
and service provided by Komoot on https://photon.komoot.io).

Documentation at:
https://github.com/komoot/photon
Expand All @@ -29,7 +29,7 @@ def __init__(
scheme=None,
timeout=DEFAULT_SENTINEL,
proxies=DEFAULT_SENTINEL,
domain='photon.komoot.de',
domain='photon.komoot.io',
user_agent=None,
ssl_context=DEFAULT_SENTINEL,
adapter_factory=None
Expand All @@ -46,7 +46,7 @@ def __init__(
See :attr:`geopy.geocoders.options.default_proxies`.

:param str domain: Should be the localized Photon domain to
connect to. The default is ``'photon.komoot.de'``, but you
connect to. The default is ``'photon.komoot.io'``, but you
can change it to a domain of your own.

:param str user_agent:
Expand Down