komf icon indicating copy to clipboard operation
komf copied to clipboard

Bangumi search results are always rrelevant.

Open wangyeming opened this issue 1 year ago • 5 comments

I install komf V1.2.3 and test bangumi provider and found the search results were irrelevant.

For example, I search one comic with name '金田一37歳の事件簿' (The japanese name),

截屏2024-12-04 03 07 43

and I'm sure the exact entry is exist

金田一37歳の事件簿

But the resuts are strange and irrelevant.

截屏2024-12-04 03 07 52

Plus, I test other comics with Chinese Name and English Name. However, the search results were always irrelevant and NSFW contents!

I check the log but I just see the brief info.

INFO http.logging -- <-- 200 https://api.bgm.tv/v0/search/subjects (358ms, unknown-length body) 2024/12/04 02:49:15 | stdout | 18:49:15.289 [OkHttp https://api.bgm.tv/...] INFO http.logging -- --> POST https://api.bgm.tv/v0/search/subjects (50-byte body)

I have web debug proxy tools but I don't know how to proxy the web http request with docker. If I can proxy web, I can check if the request parameters or the response results has any error.

wangyeming avatar Dec 03 '24 19:12 wangyeming

For English name, the bangumi search results are also strange. For instance, I search for the comic 'IT'. 截屏2024-12-04 03 18 44 And the results showed here: 截屏2024-12-04 03 18 52 But in bangumi website, I can find the correct results. 截屏2024-12-04 03 19 01

If I can proxy the web with Charles application, I guess I can provide some useful info for you!

wangyeming avatar Dec 03 '24 19:12 wangyeming

Do you have bangumiToken configured? I'm testing without one and only getting relevant results first. In recent release I've removed sorting by rank of the series and now it shows it in order that bangumi returns it You can try removing your token config since it's only useful if you want to get nsfw results as well

Also to get a more detailed logging you can add httpLogLevel: "BODY" to your config

Snd-R avatar Dec 03 '24 19:12 Snd-R

OK, I indeed create the bangumiToken and write in my application.yml. I will test it without my bangumiToken! Thank you!

wangyeming avatar Dec 03 '24 19:12 wangyeming

I remove my the bangumiToken and the search result is corrent. Thank you!!!

wangyeming avatar Dec 03 '24 19:12 wangyeming

Same problem. It's a little bit misleading.

flamesky80 avatar Jan 05 '25 02:01 flamesky80