One npm Package to Download Videos from TikTok, Instagram, Facebook, YouTube and 7 More
Every project that touches social media eventually needs the same thing: "give me the direct video URL for this link." I got tired of wiring up a different scraper for every platform — one library for TikTok, another for Instagram, a third that breaks every time YouTube changes something. So I built rahad-all-downloader-v2 : one package, 11 platforms, zero setup. What it does 11 platforms, one…
A new npm package called rahad-all-downloader-v2 aims to simplify video downloading from various social media platforms. The package offers a single API to download videos from 11 different platforms including TikTok, Instagram, Facebook, YouTube, X (Twitter), Snapchat (Spotlight & Stories), Threads, Pinterest, Likee, CapCut, and Kwai.
With rahad-all-downloader-v2, users can download high quality videos with just one line of code, without any watermark or additional setup like cookies, API keys or login. The package provides batch downloads with concurrency control, auto-retry with backoff, quality preference and progress callbacks. It is built with TypeScript definitions, supports both ESM and CJS modules, and is around 21KB in size, licensed under MIT.
The creator of rahad-all-downloader-v2 aimed to provide a unified solution for developers who need to download videos from multiple platforms for various projects such as bots, archivers, content tools or automation. The package is dependency-free and gracefully handles failures, never throwing errors in batch mode. It is designed to be updated as platforms change their frontends over time.
To get started, users need to install the package via npm and then use the `alldl` function to download videos from any of the supported platforms. The function returns a direct video URL and title of the video. Users can also use the `batch` function to download videos from multiple sources with concurrency control, providing progress callbacks as each item is processed. Additional options like retries and quality preference are also available.
The package is available on npm and GitHub, and the creator encourages feedback and issues to be reported on GitHub. The creator hopes that the package will save time for developers working with social media video content.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.