node-yt-dl
v2.2.5
Published
Search and Download your favorite content in YouTube !
Downloads
77,212
Readme
Installation ⚙️
npm install node-yt-dl
Search Content 🔎
const ytdl = require("node-yt-dl");
(async() => {
await ytdl.search("Drunk text").then((result) => {
console.log(result)
}).catch((error) => {
console.log(error)
})
})()
Download Mp4 🎦
const ytdl = require("node-yt-dl");
(async() => {
await ytdl.mp4("https://youtu.be/OqEc_169ywY").then((result) => {
console.log(result)
}).catch((error) => {
console.log(error)
})
})()
Download Mp3 🎧
const ytdl = require("node-yt-dl");
(async() => {
await ytdl.mp3("https://youtu.be/OqEc_169ywY").then((result) => {
console.log(result)
}).catch((error) => {
console.log(error)
})
})()