- JavaScript 100%
| .gitignore | ||
| dl-micloud.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
micloud-dl
CLI to bulk-download all files from a Movistar Cloud (micloud.movistar.es) shared folder link.
Downloads each subfolder as a ZIP via the internal API, extracts it, and cleans up - giving you the full-resolution originals organized in the same folder structure as the share.
Requirements
- Bun ≥ 1.3
Install
git clone https://github.com/youruser/micloud-dl
cd micloud-dl
bun install
Usage
# Pass the full share URL
bun run dl-micloud.js https://micloud.movistar.es/share/f/rqDwUZXGRF-vWS8M3esw...
# Or just the token part
bun run dl-micloud.js rqDwUZXGRF-vWS8M3esw...
Files will be saved to ./downloads/<folder-name>/ preserving the original subfolder structure.
Disclaimer
Hello, I'm MaitreGEEK, I'm a French developper, and usually I work on personal projects which you can have a look in my portfolio
This little piece of code have been entirely done by Claude Sonnet 4.6, because I only needed to get images from Movistar Cloud a Spanish operator cloud and there was no download button. I asked him to do all reverse engineering and working (things that I like to do for my others projects).
More importantly, I'm sharing this project to public today because I think it might be useful for other users.
If you want to support my work you can check https://donate.maitregeek.eu
How it works
- Login - authenticates against the share link API (
/sapi/link/login) to get a session + validation key - Crawl - recursively lists all subfolders via
/sapi/media/folder?action=list - ZIP - downloads each folder as a ZIP via
POST /sapi/media/folder?action=zipwith a JSON body - Extract - unzips locally and removes the temporary ZIP
Limitations
- Password-protected links are not supported
- Folders exceeding the server's ZIP size limit (
MED-1025) are skipped with a warning - Sessions expire - if you interrupt and restart, a fresh session is automatically created on next run
Notes
The type=0 thumbnail endpoint is intentionally avoided — it returns 400 for shared folders. The ZIP approach is the only way to get full-resolution originals without a user account.