Use same setup/login endpoint as iCloud webapp

This commit is contained in:
Tor Arne Vestbø 2016-01-07 21:51:56 +01:00
parent 2e836b9185
commit 35f7955228

View file

@ -39,7 +39,7 @@ class PyiCloudService(object):
self.user = {'apple_id': apple_id, 'password': password}
self._home_endpoint = 'https://www.icloud.com'
self._setup_endpoint = 'https://p12-setup.icloud.com/setup/ws/1'
self._setup_endpoint = 'https://setup.icloud.com/setup/ws/1'
self._base_login_url = '%s/login' % self._setup_endpoint
self._base_validate_url = '%s/validate' % self._setup_endpoint