diff --git a/osmhm/fetch.py b/osmhm/fetch.py index b556ea6..68004fe 100644 --- a/osmhm/fetch.py +++ b/osmhm/fetch.py @@ -56,13 +56,13 @@ def fetch_next(current_sequence='', time_type='hour', reset=False): """ if reset is True: - state_url = ("http://planet.openstreetmap.org/replication/" + state_url = ("https://planet.openstreetmap.org/replication/" "%s/state.txt") % (time_type) else: next_sequence = int(current_sequence) + 1 sequence_string = str(next_sequence).zfill(9) - state_url = ("http://planet.openstreetmap.org/replication/" + state_url = ("https://planet.openstreetmap.org/replication/" "%s/%s/%s/%s.state.txt") % (time_type, sequence_string[0:3], sequence_string[3:6], sequence_string[6:9]) diff --git a/osmhm/send_notification.py b/osmhm/send_notification.py index 4551ac6..c19e909 100644 --- a/osmhm/send_notification.py +++ b/osmhm/send_notification.py @@ -29,8 +29,8 @@ def send_notification(notify_list, notification_type, notifier=send_mail): **User alert** Time of event: %s - Username: http://www.osm.org/user/%s - Changeset: http://www.osm.org/changeset/%s + Username: https://www.openstreetmap.org/user/%s + Changeset: https://www.openstreetmap.org/changeset/%s Additions: %s Modifications: %s Deletions: %s @@ -65,10 +65,10 @@ def send_notification(notify_list, notification_type, notifier=send_mail): **Object alert** Time of event: %s - Object: http://www.osm.org/%s/%s - Changeset: http://www.osm.org/changeset/%s + Object: https://www.openstreetmap.org/%s/%s + Changeset: https://www.openstreetmap.org/changeset/%s Action: %s - User performing: http://www.osm.org/user/%s + User performing: https://www.openstreetmap.org/user/%s Reason object is watched: %s Problem? Feedback? Reply to this message.