alexta69 / metube

Self-hosted YouTube downloader (web UI for youtube-dl / yt-dlp)
GNU Affero General Public License v3.0
6.13k stars 382 forks source link

Can't get cookies to work #117

Open Brouwertje opened 2 years ago

Brouwertje commented 2 years ago

I am trying to download something from Discovery+.

Placed cookies.txt in the right folder (just used same as download folder)

But I keep getting ''Error adding URL: ERROR: [DiscoveryPlus] This video is only available for registered users. You may want to use --cookies.''

What am I missing here?

Installed using portainer. Youtube videos download with no issues. stacked

alexta69 commented 2 years ago

The configuration looks all right.. I would suggest you debug it with the yt-dlp command line (using the --cookies parameter to specify the cookies file). If you have it working fine with yt-dlp, and still not working with MeTube, then let me know and perhaps I can help.

Brouwertje commented 2 years ago

Thanks! Seems to be something with persmission to read the cookies.txt Any tips?

image

alexta69 commented 2 years ago

Well, at this point it's all down to your specific configuration, which I don't know anything about... I see you're running MeTube with uid 1026, so you have to make sure that this user is able to read this file.

Brouwertje commented 2 years ago

Yeah, I've checked everything and it seems fine, but I must be missing something. You helped me further with the commandline tip! Thanks for the help. I'll dive into my permission settings.