Skip to content

Sadgman/ytdp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ytdp Social Media Downloader

This a package for Download Audio and Video from different Social Media: Youtube, Instagram, Tiktok, etc.

Installation

npm install ytdp

Basic Use

This will download the file to the current directory

const ytdp = require('ytdp');

(async () =>{
    await ytdp.download('gogogo meme', 'video');
})

Example for download with url

const ytdp = require('ytdp');

(async () => {
    const url = 'https://youtu.be/pElHHasBZfo?si=v6iQivEKQsew2fEB';
    await ytdp.download(url, 'audio');
})

File with custom name

const ytdp = require('ytdp');

(async () => {
    await ytdp.download('gogogo', 'audio', './jorgito.mp3', { AutoFileNameID: false });
})

About

This a package for Download Audio and Video from different Social Media: Youtube, Instagram, Tiktok, etc.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages