ytdownloader/test.js

10 lines
214 B
JavaScript
Raw Normal View History

2019-10-27 16:50:10 +01:00
const ytdl = require("ytdl-core");
ytdl.getInfo(process.argv[2], (err, info) => {
//let stream = ytdl(process.argv[2], {
// quality: "highestaudio"
//filter: 'audioonly',
//});
console.log(info);
});