node-youtube-dl icon indicating copy to clipboard operation
node-youtube-dl copied to clipboard

ytdl.getInfo with proxy option not working

Open Abhay07 opened this issue 4 years ago • 1 comments

I'm using ytdl.getInfo method with proxy option

const options = ['--proxy', 'http://184.169.230.38:8888']
video = await ytdl.getInfo(videoUrl,options);
console.log(video.formats);

The above code logs [].

I'm trying to solve video unavailable issue. Using the same proxy in my browser, i'm able to see the youtube video.

Let me know, how can i fix this.

Abhay07 avatar Aug 30 '20 07:08 Abhay07

yeah i also have same issue i think youtube with cipher encrypted videos are only available for user who requested it in this case we using proxy hence we are not able to view it otherwise videos without chi[pher can viewed over proxy.

PrasadBroo avatar Sep 02 '20 08:09 PrasadBroo