StefanLobbenmeier / youtube-dl-gui

A cross-platform GUI for youtube-dl made in Electron and node.js
GNU Affero General Public License v3.0
1.41k stars 55 forks source link

Video password? #112

Open nopeasandtanksyou opened 5 months ago

nopeasandtanksyou commented 5 months ago

Title, any way to get videos with passwords like from Vimeo?

StefanLobbenmeier commented 5 months ago

it might work with cookies - not familiar with the Vimeo extractor. I would have to check in yt-dlp how it is done without a GUI

StefanLobbenmeier commented 5 months ago

Is this video unlisted and password protected? In that case this would require both a referrer header and the option —video-password according to this: https://github.com/yt-dlp/yt-dlp/issues/6603#issuecomment-1480882743

StefanLobbenmeier commented 4 months ago

I looked into the linked issue today and found that in principle you can also use cookies (for v2 follow the cookie guide). For v3 you would ideally use the cookies directly from the browser here, I created a PR to enable this in the yt-dlp repository for chromium based browsers.

Regarding the actual issue of providing a video password, it feels a bit strange to provide a password that is for one url only in the settings - ideally there would be some kind of dialog prompting you to enter the password per video. Or is it common to use the same password for many downloads?

nopeasandtanksyou commented 4 months ago

I use Firefox, so I don't know if the cookies method would work since you mentioned it's for Chromium browsers (I haven't had time to try it myself yet)

Does the GUI support the --video-password thing? I tried and couldn't get it to work, but I don't know a lot about yt-dlp to confidently say I did it correctly. A prompt would be fine but also it would flow better if you could just input the password right next to the video sorta like how I'm assuming the --video-password thing is meant to work