yt-downloadify
v1.1.0
Published
Download audio and video from YouTube based With Name Via yt-downloadify
Downloads
17
Readme
YT-DOWNLOADIFY
UNOFFICIAL YT VIDEO/AUDIO DOWNLOAD API MADE BY MARYAM RAJPUT
Downloading Audio/Video
// Copyright Maryam All Rights Reserved
// You Can Get Api Key From: Facebook.com/naugh7y.dev
const { downloadMedia } = require('youtube-media-downloader');
const song = 'Bado Badi'; // Enter A Song Video Name
const type = 'video'; // You Can Use "audio" or "video" Depends On You
async function fetchMedia() {
try {
const result = await downloadMedia({ song, type, apikey: 'YOUR_API_KEY' });
console.log('Downloaded Sucessfully:', result);
} catch (chabli) {
console.error('Error fetching media:', chabli.message);
}
}
fetchMedia();