Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

ytdl.getInfo with proxy option not working #328

Open
Abhay07 opened this issue Aug 30, 2020 · 1 comment
Open

ytdl.getInfo with proxy option not working #328

Abhay07 opened this issue Aug 30, 2020 · 1 comment

Comments

@Abhay07
Copy link

Abhay07 commented Aug 30, 2020

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.

@PrasadBroo
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants