Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_ytdlGetInfo = (videoId, callback, errCallback) => {
ytdl.getInfo(videoId, {}, (err, info) => {
if (err) errCallback(err);
callback(info);
});
};
_getHighestQualityAudioUsingYtdl = (videoId, callback, errCallback) => {