Instagram video downloaders look like a single URL box. Most of the work is deciding what kind of link arrived and which endpoint can answer it.

1. Links are not one thing

A reel, a feed video, a story, a highlight, a carousel and a profile picture each resolve through a different path. /reel/, /p/, /tv/ and /stories/ are four different shapes, and a story URL needs the account id plus the media id, not just the short code.

2. The short code is not the media id

The base62 string in the URL has to be decoded to a numeric media id before asking for the media. That lookup needs a client session; without one the response is empty and it looks like a network error.

3. Some videos arrive split

A lot of posts return separate video and audio streams. Grabbing only the video stream gives a silent file, which is the complaint under every downloader thread. Either use the combined progressive URL when it exists, or mux the two streams server-side.

4. Rate limits look like bugs

Fetching media is fast until it is not: a handful of 429s and the tool appears broken. A small cache keyed on the media id, plus a retry with backoff, fixes most of it. Stories expire, so the cache must not key on the URL.

5. Private content has to stay private

Login-gated posts return nothing without a session cookie, and that is the correct behaviour. A downloader that can read those is asking for someone account.

I rebuilt the extraction path around these five points and kept the front end to one input: paste a public link, pick MP4 or MP3, and carousels come back as a ZIP. It supports Instagram links only, adds no watermark, and needs no account: https://cleanvideosaver.com

If you build one of these, budget most of your time for points 3 and 4. The link parsing is the easy part.