From 4789ebe3e4b5a5f28b6508fed2a9a6895508a8e2 Mon Sep 17 00:00:00 2001 From: petergardfjall Date: Wed, 12 Nov 2014 13:42:33 +0100 Subject: [PATCH] use https urls --- garminexport/garminclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/garminexport/garminclient.py b/garminexport/garminclient.py index 312f062..9daef0c 100755 --- a/garminexport/garminclient.py +++ b/garminexport/garminclient.py @@ -264,7 +264,7 @@ class GarminClient(object): :rtype: str """ - response = self.session.get("http://connect.garmin.com/proxy/activity-service-1.1/tcx/activity/{}?full=true".format(activity_id)) + response = self.session.get("https://connect.garmin.com/proxy/activity-service-1.1/tcx/activity/{}?full=true".format(activity_id)) if response.status_code != 200: raise Exception(u"failed to fetch TCX for activity {}: {}\n{}".format( activity_id, response.status_code, response.text))