summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2018-06-19 18:05:10 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2018-06-19 18:05:10 +0200
commitb53e7bd655a1d7e0193e51890faecd57bcf96455 (patch)
tree14a367bd150e55f47f97539c6096e974dccdfcb7 /modules
parentba618638275eb67d5f0085d73fdf43b27563491c (diff)
tracking: Update PB API URL
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/tracking.py2
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: