node-ytdl-core
node-ytdl-core copied to clipboard
Download a private video youtube
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 ?
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.