All In One Downloader
Download Media From Multiple Website Using One Library.
Allmost all downloader scrape directly from the sites without 3rd api.
Available Sites
Still Adding New More...
- [✅] Instagram
- [✅] Facebook
- [✅] Tiktok
- [✅] Twitter
- [✅] Youtube
- [✅] GoogleDrive
- [✅] Sfile
- [✅] Pixiv
- [✅] Mega
- [✅] Snack
- [✅] Bilibili / Bstation
Required
For Youtube & Bilibili you need ffmpeg installed
LInux Example
sudo apt update
sudo apt install ffmpeg
ffmpeg -version
Windows Example
-
Download FFmpeg:
- Visit the FFmpeg Download page.
- Click the "Windows" link and choose a build provider like gyan.dev or BtbN.
-
Extract the ZIP File:
- Download and extract the ZIP file (e.g.,
ffmpeg-release-full.7z
) using 7-Zip or WinRAR.
-
Add to PATH:
- Copy the path to the
bin
folder (e.g., C:\path\to\ffmpeg\bin
). - Go to "Control Panel" > "System" > "Advanced system settings" > "Environment Variables."
- Edit the
Path
variable and add the copied path. Save changes.
-
Verify Installation:
- Open Command Prompt and run:
ffmpeg -version
Usage
Installation:
npm i nexo-aio-downloader
Example
For more example will added in future.
const nexo = require("nexo-aio-downloader");
const listUrl = {
twitter: "https://twitter.com/x_cast_x/status/1809598797603041498?t=tXO1JdAR1Avm2BY5wNQX-w&s=19",
instagram: "https://www.instagram.com/reel/C9cFHKIySEu/?igsh=NnhmdmppdHo3dm9o",
facebook: "https://www.facebook.com/share/r/WsMBxDEAWcMVXCf9/?mibextid=D5vuiz",
tiktok: "https://vm.tiktok.com/ZSYnnbXW7",
"google-drive": "https://drive.google.com/file/d/1E8fOgl4nu4onGR756Lw2ZAVv6NgP1H74/view?usp=drive_link",
sfile: "https://sfile.mobi/5g9STNCU525"
}
(async () => {
const result = await nexo.aio('any_url')
console.log(result)
const insta = await nexo.instagram(listUrl.instagram)
console.log(insta)
const fb = await nexo.facebook(listUrl.facebook)
console.log(insta)
})()
Youtube Example
const nexo = require("nexo-aio-downloader");
const youtubeUrl = 'https://youtu.be/X_-449tJ7ys?si=iZoyMxNfqZC1iYKf'
const playlistUrl = 'https://www.youtube.com/playlist?list=PL8mG-RkN2uTzbbUgvbn2YzBLLU3wktwo0'
const quality = 3
const bitrateList = 9
const dirPath = './youtube'
(async () => {
const youtube = await nexo.youtube(youtubeUrl, quality)
console.log(youtube)
const youtubePlaylist = await nexo.youtubePlaylist(playlistUrl, quality, dirPath)
console.log(youtubePlaylist)
const bitList = await nexo.youtube(youtubeUrl, bitrateList)
const customAudio = await nexo.youtube(youtubeUrl, 140)
console.log(customAudio)
})()
Pixiv Example
For R-18 works require cookie
const nexo = require("nexo-aio-downloader");
const pixivUrl = 'https://www.pixiv.net/en/artworks/120829610'
const userUrl = 'https://www.pixiv.net/en/users/25030629'
const type = 'illust'
const cookie = '55511249_rVrZ0ygXjti1WfuDahh4yCDE4Qo5UUqNK'
(async () => {
const pixiv = await nexo.pixiv(pixivUrl)
console.log(pixiv)
const pixiv18 = await nexo.pixiv(pixivUrl, cookie)
console.log(pixiv18)
const pixivbatch = await nexo.pixivBatch(pixivUrl, cookie, type)
console.log(batch)
})()
How To Get Cookie:
- Login to pixiv using your account
- Open the developer tools (F12, Ctrl+Shift+I, or Cmd+J)
- Go to the
Application
tab - Go to the
Storage
section and click on Cookies
- Look for the
PHPSESSID
- Open the object, right click on value and copy your session token.
Bilibili Example
const nexo = require("nexo-aio-downloader");
const biliUrl = 'https://www.bilibili.tv/id/video/4791529255207424?bstar_from=bstar-web.homepage.recommend.all
// 144P || 240P || 360P || 480P || 720P
const quality = '480P' // Default 480P
(async () => {
// Download Custom Quality Youtube
const bili = await nexo.bilibili(biliUrl, quality)
console.log(bili)
})()
Example Using Proxy
For like instagram that have ip limit
const nexo = require("nexo-aio-downloader");
const { HttpsProxyAgent } = require('https-proxy-agent');
const username = 'example_user'
const password = 'example'
const hostname = 'ex.ample.com'
const port = 6060
const httpsProxyAgent = new HttpsProxyAgent(`http://${username}:${password}@${hostname}:${port}`);
const url = "https://www.instagram.com/reel/C9cFHKIySEu/?igsh=NnhmdmppdHo3dm9o"
(async () => {
const result = await nexo.aio(url, httpsProxyAgent)
console.log(result)
})()
License
nexo-aio-downloader is licensed under the MIT License. Please refer to the LICENSE file for more information.