youtube-dl-wpf icon indicating copy to clipboard operation
youtube-dl-wpf copied to clipboard

Can the software add support for local cookie files?

Open hqhbaby opened this issue 9 months ago • 11 comments

Can the software add support for local cookie files?

hqhbaby avatar Feb 19 '25 04:02 hqhbaby

For now, add cookies options to "Startup arguments" in settings.

database64128 avatar Feb 19 '25 04:02 database64128

"Startup arguments" in settings. add " --cookies cookies.txt " is wrong, how to add the local cookie files

hqhbaby avatar Feb 19 '25 05:02 hqhbaby

--cookies and cookies.txt are two separate arguments. Add them separately. Do not put them in the same text field.

database64128 avatar Feb 19 '25 05:02 database64128

How to boot cookies.txt file properly?

hqhbaby avatar Feb 19 '25 05:02 hqhbaby

You might want to use something like --cookies-from-browser firefox to let yt-dlp automatically extract relevant cookies from your browser. Otherwise, check yt-dlp's documentation.

database64128 avatar Feb 19 '25 05:02 database64128

how to setting in youtube-dl-wpf local cookies files (need cookies form local files,not need cookies from brower) like the pic

Image

hqhbaby avatar Feb 19 '25 05:02 hqhbaby

It seem not support the format " yt-dlp.exe: error: no such option: --cookies D:\software\VPN\yt-dlp\ytdl\cookies.txt"

Image

hqhbaby avatar Feb 19 '25 05:02 hqhbaby

https://github.com/database64128/youtube-dl-wpf/issues/218#issuecomment-2667535802

database64128 avatar Feb 19 '25 06:02 database64128

Image --The entry for importing cookies is not visible in the settings.

ghdhhdbdb avatar May 02 '25 04:05 ghdhhdbdb

@database64128 Have you updated the package you issued?

For now, add cookies options to "Startup arguments" in settings.

ghdhhdbdb avatar May 02 '25 04:05 ghdhhdbdb

@ghdhhdbdb Hopefully the next release will be ready within the month. For now, add the options to startup arguments yourself.

database64128 avatar May 02 '25 08:05 database64128

FYI, to those who don't get it.

Here's a screenshot of what worked for me:

Image

harkinhails avatar Jul 01 '25 23:07 harkinhails

With 8fd84b963a6bd4fbc3caff621dfed5e675cda277 and 2b11c41417add96f4c36cbd46b9b15e4f020620d, you can now specify local cookies files or choose a browser to load cookies from. Try it out by downloading the latest build artifacts from https://github.com/database64128/youtube-dl-wpf/actions/runs/18016831945.

database64128 avatar Sep 25 '25 18:09 database64128

v1.13.0 is out with the new feature.

database64128 avatar Sep 26 '25 20:09 database64128

good job

database64128 @.***> 於 2025年9月27日週六 上午4:33寫道:

database64128 left a comment (database64128/youtube-dl-wpf#218) https://github.com/database64128/youtube-dl-wpf/issues/218#issuecomment-3340441945

v1.13.0 https://github.com/database64128/youtube-dl-wpf/releases/tag/v1.13.0 is out with the new feature.

— Reply to this email directly, view it on GitHub https://github.com/database64128/youtube-dl-wpf/issues/218#issuecomment-3340441945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWWDQOBV33YKVTRE4A7QO7L3UWPH7AVCNFSM6AAAAABXNHP57OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGNBQGQ2DCOJUGU . You are receiving this because you authored the thread.Message ID: @.***>

hqhbaby avatar Sep 26 '25 20:09 hqhbaby