Skip to content

Conversation

@WestXu
Copy link

@WestXu WestXu commented Jun 11, 2022

So since 2021/11/18, all Chinese iCloud accounts were moved from icloud.com to icloud.com.cn, which makes this whole amazing package(and some others, see icloud-photos-downloader/icloud_photos_downloader#392) not working.

To be specific, PyiCloudSession.data is simply {'domainToUse': 'iCloud.com.cn'} now for all Chinese users.

This PR introduce a fix, while not ideal because it uses an env var to toggle the switch, but is a non-breaking fix.

What do you think?

@ahlixinjie
Copy link

ahlixinjie commented Sep 29, 2022

Great PR! Really solved my problem 😭. But I suggest set icloud_china env variable's default value to 0, cause most people using it not live in China.

@WestXu
Copy link
Author

WestXu commented Oct 21, 2022

Oh my bad. Now it's fixed and default to 0.

@Bpazy
Copy link

Bpazy commented Aug 8, 2023

I need this PR.

Has this project been deprecated? the last commit was in 2022.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants