You are not logged in.
Hi everyone,
This is my first time sharing. I want to share this because it took me a long time to figure out how to do it and, also, writing it down helps myself to remember how to do it
on the chrome web-browser, press F12, go to application, storage, and cookies, copy and paste all the cookies into a text file, say "cookiesF.txt"
Then, convert the cookies.txt into netscape format by using
node convert-cookies.js cookiesF.txt > cookies.txt
you have to download "convert-cookies.js" of course. Just google around and you will find where to download it.
And then, just enter
youtube-dl --cookies=cookies.txt $link to video$
and that's it! Simple!
Last edited by sexynsmartjenny (2022-06-18 17:00:54)
Offline
So this works with all private videos not just the ones that require a user to login to their YT/Google account to view?
Real Men Use Linux
Offline
Yes I'd also like to understand: when do you actually need this? How long are the cookies good for?
Last edited by ohnonot (2021-07-28 07:06:55)
Offline