Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Maybe my problem and sorry if its that the case, but the comment count is not coming in the info section can someone help me out? and yes the video have counts
//example of youtube-info working:
var fetchVideoInfo = require('youtube-info');
fetchVideoInfo('QT2_XF88TXk', function (err, videoInfo) {
if (err) throw new Error(err);
console.log(videoInfo);
});
// Youtube-dl not working
const youtubedl = require('youtube-dl')
const url = 'http://www.youtube.com/watch?v=QT2_XF88TXk'
const options = ['--username=user', '--password=hunter2']
youtubedl.getInfo(url, options, function(err, info) {
if (err) throw err
console.log('fields:', Object.keys(info) )
})