14

Hello,

Im not terribly adept at this, but I got yt.dlp working. There is one age gated video Ive been wanting to watch. I tried inputing the credentials for a verified youtube account, and I got an error message with

"log in with password is not supported for youtube." Then listed error 7271, could not copy chrome cookie data, which I thought was weird, because I dont have chrome and was not using it as the browser.

Am I missing something? Or is this functionality no longer available, at least for the time being?

top 5 comments
sorted by: hot top controversial new old
[-] hendrik@palaver.p3x.de 2 points 1 day ago* (last edited 1 day ago)

I downloaded an age-gated video yesterday and it worked. You need to use the --cookies-from-browser option or export them to a text file. And I had issues with yt-dlp finding the correct path, so I needed to manually provide it with the correct directory for my Chromium or LibreWolf. My command looks like yt-dlp --cookies-from-browser firefox:~/.librewolf/ ...

It should be able to use Edge, at least according to the documentation you should be able to pass "edge" as the browser name without and additional info and it'll try to use them, unless your cookies are encrypted or you use profiles in your browser and it's not the default one.

But there are several bugreports for similar situations:

Maybe you want to install Firefox or something that works. Or if it's just one video, drop the link here and hope someone else downloads it for you.

[-] Brutticus@midwest.social 2 points 1 day ago

I appreciate your step by step instruction and links to similar help threads. I do have firefox, but its my primary browser. Ive found it to be easier to log into google with a secondary browser, in this case, Edge.

I dont mind dropping the link, but its Action Button's LA Noir Video, its 10 hours long

[-] Zachariah@lemmy.world 3 points 1 day ago

For ytdlp to access content that requires a login, it needs to pass a browser’s cookies to YouTube to show that is logged in.

[-] Brutticus@midwest.social 1 points 1 day ago

I know, Im logged into youtube on Edge and I told it to use the cookies from there.

[-] Zachariah@lemmy.world 2 points 1 day ago

It may interpret Edge as Chrome since they’re both Chromium based.

this post was submitted on 17 Jun 2025
14 points (100.0% liked)

privacy

4811 readers
9 users here now

Big tech and governments are monitoring and recording your eating activities. c/Privacy provides tips and tricks to protect your privacy against global surveillance.

Partners:

founded 3 years ago
MODERATORS