diff --git a/Phonak Target Checker.py b/Phonak Target Checker.py index 455eda4..347e024 100644 --- a/Phonak Target Checker.py +++ b/Phonak Target Checker.py @@ -49,7 +49,7 @@ updaterRetries = libhearingdownloader.updaterRetries while updaterRetries > 0: try: - xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=UK&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) + xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=GB&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) data = xml.fromstring(xmlData) break except: diff --git a/Phonak Target Media Checker.py b/Phonak Target Media Checker.py index 1f43743..fe6e206 100644 --- a/Phonak Target Media Checker.py +++ b/Phonak Target Media Checker.py @@ -52,7 +52,7 @@ hostXmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=US&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) hostData = xml.fromstring(hostXmlData) hostAppVer = hostData[0].find(xmlns + "UpdateVersion").find(xmlns + "Version").text - xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/MediaInstaller/index?appName=Target%20Media&appVer=0.0.0.0;" + hostAppVer + "&dist=Phonak&country=US&subKeys=").text # Request the updater API with the latest version number of Phonak Target + xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/MediaInstaller/index?appName=Target%20Media&appVer=0.0.0.0;" + hostAppVer + "&dist=Phonak&country=GB&subKeys=").text # Request the updater API with the latest version number of Phonak Target data = xml.fromstring(xmlData) break except: diff --git a/Phonak Target Sounds Checker.py b/Phonak Target Sounds Checker.py index 8b82136..3e3e218 100644 --- a/Phonak Target Sounds Checker.py +++ b/Phonak Target Sounds Checker.py @@ -49,10 +49,10 @@ updaterRetries = libhearingdownloader.updaterRetries while updaterRetries > 0: try: - hostXmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=UK&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) + hostXmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=GB&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) hostData = xml.fromstring(hostXmlData) hostAppVer = hostData[0].find(xmlns + "UpdateVersion").find(xmlns + "Version").text - xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/SoundsInstaller/index?appName=Target%20Sounds&appVer=0.0.0.0;" + hostAppVer + "&dist=Phonak&country=US&subKeys=").text # Request the updater API with the latest version number of Phonak Target + xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/SoundsInstaller/index?appName=Target%20Sounds&appVer=0.0.0.0;" + hostAppVer + "&dist=Phonak&country=GB&subKeys=").text # Request the updater API with the latest version number of Phonak Target data = xml.fromstring(xmlData) break except: