speedster-youtube-info
v1.0.0
Published
a simple library for get a detail of an youtube link
Downloads
6
Maintainers
Readme
YoutubeInfo
a simple library for get a detail of an youtube link like :
- is playlist ?
- download link
- auto generate subtitle link
- title
- all formats
how use
first you need :
- nodejs
- need support of this
- youtube-dl : youtube-dl
usage :
const youtube = require('youtube_info.js');
// single file video
// let link = "https://www.youtube.com/watch?v=zq-XcnjLpXI";
// playlist
let link = "https://www.youtube.com/playlist?list=PLZo2FfoMkJeHk0Gs1nNajmVweHmefcI8U";
youtube(link, (arr) => console.log(arr));
output :
it's simple just a Json object
npm :
license :
MIT :)