10 lines
214 B
JavaScript
10 lines
214 B
JavaScript
|
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);
|
||
|
});
|