From b53e7bd655a1d7e0193e51890faecd57bcf96455 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 19 Jun 2018 18:05:10 +0200 Subject: tracking: Update PB API URL --- modules/tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tracking.py b/modules/tracking.py index 70c85b0..779162a 100755 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -377,7 +377,7 @@ class PitneyBowes(TrackingModule): def track(self, code): code = self.splitcode(code) - url = 'https://parceltracking.pb.com/tracking/services/v1/track-packages/' + code + url = 'https://parceltracking.pb.com/ptsapi/track-packages/' + code try: response = requests.get(url, timeout = config.getfloat(cfg_section, 'timeout'), verify = False) except Exception as e: -- cgit v1.2.3