CLI to bulk-download all files from a Movistar Cloud (micloud.movistar.es) shared folder link.
  • JavaScript 100%
Find a file
2026-06-12 13:33:27 +00:00
.gitignore Initial commit 2026-06-12 13:25:23 +00:00
dl-micloud.js Ajouter dl-micloud.js 2026-06-12 13:33:27 +00:00
LICENSE Initial commit 2026-06-12 13:25:23 +00:00
package.json Ajouter package.json 2026-06-12 13:32:41 +00:00
README.md Actualiser README.md 2026-06-12 13:31:58 +00:00

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

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

  1. Login - authenticates against the share link API (/sapi/link/login) to get a session + validation key
  2. Crawl - recursively lists all subfolders via /sapi/media/folder?action=list
  3. ZIP - downloads each folder as a ZIP via POST /sapi/media/folder?action=zip with a JSON body
  4. 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.