elvis972602 / Kemono-scraper

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

invalid character '<' looking for beginning of value #34

Closed HuangShun closed 1 year ago

HuangShun commented 1 year ago

Downloading Coomer fetching creator list... panic: unmarshal creator list error: invalid character '<' looking for beginning of value

goroutine 1 [running]: github.com/elvis972602/kemono-scraper/kemono.(*Kemono).Start(0xc000071ae0) C:/Users/elvis/GolandProjects/Kemono-scraper/kemono/kemono.go:225 +0x111e main.main() C:/Users/elvis/GolandProjects/Kemono-scraper/main/main.go:484 +0x3ca5

mookau commented 1 year ago

It appears they changed their API address. The address needs to be updated to /api/v1/

mookau commented 1 year ago

I've made a fork with the changes, and created a pull request. (Hopefully I've done it all correctly.)

In the meantime, for those unwilling to build from source, I've built the binaries with the changes: https://github.com/mookau/Kemono-scraper/releases

HuangShun commented 1 year ago

I've made a fork with the changes, and created a pull request. (Hopefully I've done it all correctly.)

In the meantime, for those unwilling to build from source, I've built the binaries with the changes: https://github.com/mookau/Kemono-scraper/releases

It has same problem

mookau commented 1 year ago

I've made a fork with the changes, and created a pull request. (Hopefully I've done it all correctly.) In the meantime, for those unwilling to build from source, I've built the binaries with the changes: https://github.com/mookau/Kemono-scraper/releases

It has same problem

Whoops, uploaded the old binaries by mistake. Should be fixed now.

elvis972602 commented 1 year ago

Thanks mookau! It looks like some of the api's have been changed, so it's possible that there's still a problem, and I'll try to fix it as soon as I can.

mookau commented 1 year ago

It was very minor, but I'm glad to help.