ab-downloader
Version:
Social Media Downloader by AbroDevTeam
379 lines (289 loc) β’ 8.5 kB
Markdown
<div align="center">
# π AB-DOWNLOADER
<img src="https://i.imgur.com/LyHic3i.gif" width="100%"/>
[](https://git.io/typing-svg)
<br>
<img src="https://files.catbox.moe/d66kll.jpeg" width="180" alt="AB-Downloader Logo"/>
### π― **Universal Media Downloader**
*Download content from Instagram, TikTok, Facebook, YouTube, and more!*
<br>
<a href="https://whatsapp.com/channel/0029VaidGkA6hENhcPlyuu1e">
<img src="https://img.shields.io/badge/WhatsApp-Channel-25D366?style=for-the-badge&logo=whatsapp&logoColor=white" alt="WhatsApp Channel">
</a>
<br>
<br>
[](https://www.npmjs.com/package/ab-downloader)
[](https://www.npmjs.com/package/ab-downloader)
[](https://github.com/abrotech001/ab-downloader/blob/main/LICENSE)
[](https://github.com/abrotech001/ab-downloader/stargazers)
<img src="https://i.imgur.com/LyHic3i.gif" width="100%"/>
</div>
## π¦ Installation
### Node.js
```bash
npm install ab-downloader
```
### No more Python Config
## π¨ Features
<div align="center">
| Platform | Status | Features |
|----------|--------|----------|
| πΈ **Instagram** | β
Active | Posts, Stories, Reels |
| π΅ **TikTok** | β
Active | Videos, No Watermark |
| π **Facebook** | β
Active | Videos, Posts |
| π¦ **Twitter** | β
Active | Videos, Images |
| π¬ **YouTube** | β
Active | Videos, Audio |
| π **MediaFire** | β
Active | Direct Downloads |
| π¬ **CapCut** | β
Active | Templates |
| πΎ **Google Drive** | β
Active | Public Files |
| π **Pinterest** | β
Active | Images, Search |
| π **AIO** | π§ Maintenance | Universal Downloader |
</div>
## π Quick Start
### π AIO - All in One *(Under Maintenance)*
```javascript
const { aio } = require('ab-downloader');
const url = 'https://www.instagram.com/p/ByxKbUSnubS/';
aio(url)
.then(data => console.log(data))
.catch(err => console.error(err));
```
## π± Platform Examples
### πΈ Instagram
```javascript
const { igdl } = require('ab-downloader');
const url = 'https://www.instagram.com/p/ByxKbUSnubS/';
igdl(url)
.then(data => {
console.log('β
Instagram content downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
[
{
developer: 'AbroCodes',
contactme: 'Telegram: abrocodes',
thumbnail: '...',
url: '...'
resolution: undefined,
shouldRender: undefined
}
]
```
</details>
### π΅ TikTok
```javascript
const { ttdl } = require('ab-downloader');
const url = 'https://www.tiktok.com/@username/video/1234567890';
ttdl(url)
.then(data => {
console.log('β
TikTok video downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
[
{
developer: 'AbroCodes',
contactme: 'Telegram: abrocodes',
title: ...,
title_audio: ...,
thumbnail: ...,
videoοΌοΌ»],
audio: []
}
]
```
</details>
### π Facebook
```javascript
const { fbdown } = require('ab-downloader');
const url = 'https://www.facebook.com/watch/?v=1393572814172251';
fbdown(url)
.then(data => {
console.log('β
Facebook video downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
[
{
developer: 'AbroCodes',
contactme: 'Telegram: abrocodes',
Normal_video: ...,
HD: ...
}
]
```
</details>
### π¦ Twitter
```javascript
const { twitter } = require('ab-downloader');
const url = 'https://twitter.com/username/status/1229369819511709697';
twitter(url)
.then(data => {
console.log('β
Twitter media downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
{
developer: 'AbroCodes',
contactme: 'Telegram: abrocodes',
title: '...',
url: [
{
hd: '...'
},
{
sd: '...'
}
]
}
```
</details>
### π¬ YouTube
```javascript
const { youtube } = require('ab-downloader');
const url = 'https://youtube.com/watch?v=C8mJ8943X80';
youtube(url)
.then(data => {
console.log('β
YouTube video downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
CHECK IT OUT YOURSELF β€οΈ
```
</details>
### π MediaFire
```javascript
const { mediafire } = require('ab-downloader');
const url = 'https://www.mediafire.com/file/941xczxhn27qbby/file.apk/file';
mediafire(url)
.then(data => {
console.log('β
MediaFire file downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
CHECK IT OUT YOURSELF β€οΈ
```
</details>
### π¬ CapCut
```javascript
const { capcut } = require('ab-downloader');
const url = 'https://www.capcut.com/template-detail/7299286607478181121';
capcut(url)
.then(data => {
console.log('β
CapCut template downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
CHECK IT OUT YOURSELF β€οΈ
```
</details>
### πΎ Google Drive
```javascript
const { gdrive } = require('ab-downloader');
const url = 'https://drive.google.com/file/d/1thDYWcS5p5FFhzTpTev7RUv0VFnNQyZ4/view';
gdrive(url)
.then(data => {
console.log('β
Google Drive file downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
CHECK IT OUT YOURSELF β€οΈ
```
</details>
### π Pinterest
```javascript
const { pinterest } = require('ab-downloader');
// Download by URL
const url = 'https://pin.it/4CVodSq';
pinterest(url)
.then(data => {
console.log('β
Pinterest image downloaded!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
// Search Pinterest
pinterest('Nature Photography')
.then(data => {
console.log('β
Pinterest search results!');
console.log(data);
})
.catch(err => console.error('β Error:', err));
```
<details>
<summary><b>View Sample Response</b></summary>
```json
CHECK IT OUT YOURSELF β€οΈ
```
</details>
## π Documentation
<div align="center">
### π **[Complete API Documentation](https://abrotech001.github.io/ab-downloader/)**
*Detailed guides, examples, and API references*
</div>
## β οΈ Important Notes
> ### π **Legal & Ethical Use**
> - β
Only download **public** or **accessible** content
> - β
Ensure you have **permission** or **copyright** to download media
> - β
Respect **platform terms of service**
> - β This application is **not affiliated** with any social media platform
> ### π‘οΈ **Disclaimer**
> Users are responsible for complying with applicable laws and platform policies when using this downloader.
## π€ Contributing
<div align="center">
### We welcome contributions! π
</div>
### π Found a Bug?
1. Contact Developer on Telegram: https://t.me/abrocodes
2. Submit an issue with detailed description
3. Include error logs and reproduction steps
## π License
<div align="center">
**AB-Downloader** is licensed under the [MIT License](https://github.com/abrotech001/ab-downloader/blob/main/LICENSE)
*Feel free to use, modify, and distribute this software*
### π **Star this repo if you found it helpful!**
[](https://github.com/abrotech001/ab-downloader/stargazers)
<sub>Made with β€οΈ by [AbroCodes](https://github.com/abrotech001)</sub>
</div>