Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download a private video youtube #1282

Open
kamalkech opened this issue Apr 3, 2024 · 1 comment
Open

Download a private video youtube #1282

kamalkech opened this issue Apr 3, 2024 · 1 comment

Comments

@kamalkech
Copy link

ytdl-core: ^4.11.5

i try to use this example to download a private video youtube but not working.
https://github.com/fent/node-ytdl-core/blob/master/example/cookies.js

on this example should inject cookie and x-youtube-identity-token
so how can get cookie value ?

@twarped
Copy link

twarped commented Apr 11, 2024

I think you have to go to YouTube.com when you're signed in then put this in the console to see your cookies:

console.log(document.cookie)

But, I'm on a phone right now... so who knows.

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

No branches or pull requests

2 participants