0.0.6 • Published 9 months ago
yta v0.0.6
yta
Gets audio only stream for YouTube video.
Install
npm install yta
Use
const yta = require('yta');
yta('XXXXXXXXXXX').then((audio) => console.log(audio));
// or use the url, the id will be automatically extracted and used
yta('https://www.youtube.com/watch?v=XXXXXXXXXXX').then((audio) => console.log(audio));
// uses a promise API to allow asynchronous requests