

What?
This is a module from ytdl-core but with JSON API output.
Installation
npm i ytapi-roffineru4k
Example of use
const { ytdown } = require("ytapi-roffineru4k");
const url = 'https://youtu.be/Y8qPp4pBNz8?si=trSJOTHg7-bMh4cB';
ytdown(url).then(data => {
console.log(data);
});
Example output
{
creator: 'RoffiNeru4K',
community: 'https://ungu.in/ChennelRoffiNeru4K',
status: true,
data: {
title: 'BRODYAGA FUNK (SPED UP) RYOIKI TENKAI (RAIDEN SHOGUN) #phonk',
video: 'https://rr4---sn-4g5ednsz.googlevideo.com/videoplayback?expire=1721549119&ei=32yc...',
video_hd: 'https://rr4---sn-4g5ednsz.googlevideo.com/videoplayback?expire=1721549119&ei=32yc...',
audio: 'https://rr4---sn-4g5ednsz.googlevideo.com/videoplayback?expire=1721549119&ei=32yc...',
quality: '360p',
thumbnail: 'https://i.ytimg.com/vi/5Ue8HyyrUNg/default.jpg',
channel: 'yuki',
desc: '#phonk #phonkmusic #phonkradio #phonkbeat #trillphonk #phonkdrift'
}
}
Main Functions
- Get thumbnail
- Get title
- Get description
- Get video
- Get audio
Contribution