Use same setup/login endpoint as iCloud webapp
This commit is contained in:
parent
2e836b9185
commit
35f7955228
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class PyiCloudService(object):
|
||||||
self.user = {'apple_id': apple_id, 'password': password}
|
self.user = {'apple_id': apple_id, 'password': password}
|
||||||
|
|
||||||
self._home_endpoint = 'https://www.icloud.com'
|
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_login_url = '%s/login' % self._setup_endpoint
|
||||||
self._base_validate_url = '%s/validate' % self._setup_endpoint
|
self._base_validate_url = '%s/validate' % self._setup_endpoint
|
||||||
|
|
Loading…
Reference in a new issue