elvis972602 / Kemono-scraper

A simple downloader to download media from kemono.party
MIT License
193 stars 12 forks source link

Can't get cookies to work #54

Open ghost opened 7 months ago

ghost commented 7 months ago

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