Metadata-Version: 2.5
Name: iclouddl
Version: 1.0.1
Summary: Download photos and videos from an iCloud shared album, for those without an Apple device
Project-URL: Homepage, https://github.com/upstream-wontfix/ICloudDL
Project-URL: Repository, https://github.com/upstream-wontfix/ICloudDL
Project-URL: Issues, https://github.com/upstream-wontfix/ICloudDL/issues
Author: Amol Venkataraman
License-Expression: MIT
License-File: LICENSE
Keywords: cli,download,exif,icloud,photos,shared-album
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Requires-Dist: requests>=2.28
Provides-Extra: heic
Requires-Dist: pillow-heif>=0.13; extra == 'heic'
Requires-Dist: pillow>=10.0; extra == 'heic'
Description-Content-Type: text/markdown

<!-- header:start -->
<div align="center">

<img alt="ICloudDL: The Download button Apple never shipped: save a whole iCloud Shared Album without a $999 glass rectangle." src="https://raw.githubusercontent.com/upstream-wontfix/ICloudDL/main/.github/assets/banner.svg" width="100%">

![python: 3](https://img.shields.io/badge/python-3-0f6f68?labelColor=15181c&color=0f6f68)
[![licence: MIT](https://img.shields.io/badge/licence-MIT-0f6f68?labelColor=15181c&color=0f6f68)](https://github.com/upstream-wontfix/ICloudDL/blob/main/LICENSE)

[Install](#install) · [Use](#use) · [Heads-up on quality](#heads-up-on-quality)

</div>

<a href="https://haiscale.amolven.com/A1/"><img alt="HAI Scale A1, Mostly automated. Most of the code was written by AI coding agents. I directed the design, reviewed the changes and tested it on real shared albums. Unofficial and not affiliated with Apple. Only download albums you're allowed to save. Provided as is, with no warranty." src="https://raw.githubusercontent.com/upstream-wontfix/ICloudDL/main/.github/assets/hai.svg" width="100%"></a>

<sub>Full terms: [DISCLAIMER.md](https://github.com/upstream-wontfix/ICloudDL/blob/main/DISCLAIMER.md)</sub>
<!-- header:end -->

Download photos and videos from an iCloud share for those without an Apple device.

Apple built "Shared Albums" so anyone can look at your photos — then made sure anyone *without* a $999 glass rectangle has to right-click and "Save As" one by one like it's a GeoCities page. ICloudDL is the **Download** button they never got around to shipping to the rest of us: point it at your exported cookies, run one command, and the whole shared album lands in a folder — proper file extensions, EXIF intact, JSON sidecars and all.

No Mac, no iPhone, no "just sign in with your Apple ID on your other Apple device."

## Install

From PyPI:

```bash
pipx install iclouddl               # or: uv tool install iclouddl
pipx install 'iclouddl[heic]'       # also transcode genuine HEIC files to JPEG (rarely needed)
pip install iclouddl                # into an existing environment
```

From source:

```bash
pip install -r requirements.txt     # needs `exiftool` on PATH for sidecars; pillow-heif only for true-HEIC transcode
```

JSON sidecars read embedded EXIF with the `exiftool` binary, which must be on PATH
(`apt install libimage-exiftool-perl` / `brew install exiftool`). Without it, sidecars carry the iCloud fields only.

## Use

Export your `www.icloud.com` cookies to a JSON file while signed in (any "cookies.json" browser extension works), then:

```bash
iclouddl -cf cookies.json -l                      # list the shared albums you can see
iclouddl -cf cookies.json -a "Lake Tahoe" -a 1    # download specific albums (name, index, or GUID)
iclouddl -cf cookies.json -A -o ~/Pictures/shared # download them all
```

From a source checkout, run `python3 iclouddl.py` in place of `iclouddl`.

| Flag | Meaning |
|------|---------|
| `-l, --list` | List shared albums |
| `-a, --album` | Download one album by index / name / GUID (repeatable) |
| `-A, --all` | Download every shared album |
| `-cf, --cookies` | Exported `www.icloud.com.cookies.json` (or `$ICLOUDDL_COOKIES`) |
| `-o, --output` | Output root (one folder per album) |
| `-nv, --novideo` | Skip videos |
| `-f, --force` | Re-download even if already present |
| `-j, --jobs` | Parallel downloads (default 4) |
| `--no-convert` | Keep bytes exactly as served (default: fix extensions, transcode true HEIC) |
| `--no-sidecar` | Don't write JSON sidecars |
| `--manifest` | Also write `album.json` with raw iCloud records |
| `--dry-run` | Show what would download; fetch nothing |

Runs are **idempotent**: each album keeps a `.iclouddl-index.json`, so re-running skips what's already downloaded and only fetches the rest. Drop the connection, run it again, it finishes the job.

## Heads-up on quality

iCloud serves shared-album media as **re-encoded ~1536px copies**, not full-resolution originals — that's a limit of iCloud Photo Sharing itself, not this tool. Capture date and camera/lens/exposure survive on every photo; GPS survives on some (Apple strips it from many shared copies, and videos carry none).

---

Unofficial, AI-assisted, provided as-is. Downloads only shared albums your own account already has access to. Not affiliated with or endorsed by Apple. See [DISCLAIMER.md](https://github.com/upstream-wontfix/ICloudDL/blob/main/DISCLAIMER.md).
