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