diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2018-06-19 18:05:10 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2018-06-19 18:05:10 +0200 |
commit | b53e7bd655a1d7e0193e51890faecd57bcf96455 (patch) | |
tree | 14a367bd150e55f47f97539c6096e974dccdfcb7 | |
parent | ba618638275eb67d5f0085d73fdf43b27563491c (diff) |
tracking: Update PB API URL
-rwxr-xr-x | modules/tracking.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |