this post was submitted on 23 Apr 2025
1 points (100.0% liked)

It's A Digital Disease!

23 readers
1 users here now

This is a sub that aims at bringing data hoarders together to share their passion with like minded people.

founded 2 years ago
MODERATORS
 
The original post: /r/datahoarder by /u/LAN_Mind on 2025-04-22 12:50:59.

Good morning. This is probably a super basic question, but I haven't been able to figure out how to pull a video from yt. It's definitely related to cookies. For better or worse, I have two G profiles on this machine. I figured it wouldn't work, but here is the command I first tried:

yt-dlp -f bestvideo+bestaudio https://youtu.be/JVywqFx0GdE

Which gives me "Sign in to confirm you’re not a bot." as expected. So I tried this:

yt-dlp -f bestvideo+bestaudio --cookies-from-browser chrome  https://youtu.be/JVywqFx0GdE

That gave me the error "Could not copy Chrome cookie database.", so I tried telling it my profile:

yt-dlp -f bestvideo+bestaudio --cookies-from-browser chrome:<GProfileName> https://youtu.be/JVywqFx0GdE

Which gives me this error: could not find chrome cookies database in "C:\Users<WindowsUserName>\AppData\Local\Google\Chrome\User Data<GProfileName>"

Can anyone spot what I'm doing wrong? Thanks in advance.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here