L4cache / kemono-dl

(personal fork of) A simple kemono.party downloader using python.
93 stars 14 forks source link

Favourites API Endpoint Changed #21

Closed DrQuantum101 closed 10 months ago

DrQuantum101 commented 10 months ago

Version

Version: 2022.04.28

Your Command

python kemono-dl.py --cookies "cookie.txt" --kemono-fav-users all --content --comments --extract-links --icon --banner --no-part-files --skip-filetypes "psd" --archive "Downloads_Archive.txt"python kemono-dl.py --cookies "cookie.txt" --kemono-fav-users all --content --comments --extract-links --icon --banner --no-part-files --skip-filetypes "psd" --archive "Downloads_Archive.txt"

Description of bug

API Endpoints for favorites have changed

How To Reproduce

Run any command with --kemono-fav-users or --coomer-fav-users

Error messages and tracebacks

DEBUG:Getting creator json from https://kemono.party/api/v1/creators/
DEBUG:Getting favorite json from https:/
ERROR:404 NOT FOUND

debug.log

Additional comments

This should be a simple fix. All instances of favorite API calls need to replaced in code to the correct URLs.

ie.

Current Kemono Fav. Artist API Call: https://kemono.party/api/v1/favorites?type=artist New Kemono Fav. Artist API Call: https://kemono.party/api/v1/account/favorites?type=artist