Kemono-scraper icon indicating copy to clipboard operation
Kemono-scraper copied to clipboard

Can't get cookies to work

Open ghost opened this issue 10 months ago • 0 comments

I am on Arch Linux and using firefox. I am using the latest version which I got from the aur. I just wanted to download all my favorite creators automatically, instead of doing each separately.

So I started by exporting my cookies by doing this

yt-dlp --cookies cookies.txt --cookies-from-browser firefox

I then deleted all lines except these

.kemono.su	TRUE	/	FALSE	1744236223	__ddg1_	wPCVpHx5yX79YBNGzbJY
kemono.su	FALSE	/	FALSE	2028060239	session eyJfcGVybWFuZW50Ijp0cnVlLCJhY2NvdW50X2lkIjoxMDc4ODIxfQ.ZhW7Tw.TL0EcscAAUUqtESh7SFHU36ZlGc

I then used kemono-scraper like this

kemono-scraper --cookie ./cookies.txt --fav-site kemono --fav-creator true

Executing this returned the following

2024/04/10 00:05:05 load cookie from ./cookies.txt
2024/04/10 00:05:05 fetching favorite creators from kemono.party
2024/04/10 00:05:06 Error getting favorites: 401

I also tried this just in case

kemono-scraper --cookie-browser firefox --fav-site kemono --fav-creator true

but this had the same result

2024/04/10 00:05:10 load cookie from cookies.txt
2024/04/10 00:05:10 fetching favorite creators from kemono.party
2024/04/10 00:05:11 Error getting favorites: 401

ghost avatar Apr 09 '24 22:04 ghost