A command-line tool to download photos from iCloud
A command-line tool to download photos from iCloud
See Documentation for more details. Also, check Issues
We aim to release new versions once a week (Friday), if there is something worth delivering.
To make iCloud Photo Downloader work, ensure the iCloud account is configured with the following settings, otherwise Apple Servers will return an ACCESS_DENIED error:
Settings > Apple ID > iCloud > Access iCloud Data on the WebSettings > Apple ID > iCloud > Advanced Data ProtectionThere are three ways to run icloudpd:
See Documentation for more details
--auto-delete option)--keep-icloud-recent-days option)--watch-with-interval option)--until-found and --recent options)--set-exif-datetime option)--help option to get full list)Some changes are added to the experimental mode before they graduate into the main package. Details
To keep your iCloud photo collection synchronized to your local system:
icloudpd --directory /data --username [email protected] --watch-with-interval 3600[!IMPORTANT] It is
icloudpd, noticloudexecutable
[!TIP] Synchronization logic can be adjusted with command-line parameters. Run
icloudpd --helpto get full list.
To independently create and authorize a session (and complete 2SA/2FA validation if needed) on your local system:
icloudpd --username [email protected] --password my_password --auth-only[!TIP] This feature can also be used to check and verify that the session is still authenticated.
Want to contribute to iCloud Photos Downloader? Awesome! Check out the contributing guidelines to get involved.
2fa not working again?
zlib.error: Error -3 while decompressing data: invalid stored block lengths
Add a "Tombstone" / Permanent Skip mechanism for locally deleted files
Unhandled KeyError: 'dsInfo' in requires_2fa when session cookie is invalidated (HTTP 421)
Error Code:Gone(410)
Apple iCloud is temporary refusing to serve icloudpd
Downloading Deleted Files... only to delete them?
Apple icloud.com.cn 503 Service Temporarily Unavailable issue and temporary fix solution
`--xmp-sidecar` + `--only-print-filenames` crashes with FileNotFoundError
--skip-created-before + --skip-created-after together silently downloads 0 files