bangumi / bangumi/api

api请求失败后会返回html而成功找到条目后会返回json

Open
#219 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1.2k
Forks
41
PR merge metrics
No merged PRs in 30d

Description

比如同样搜索Kaguya-sama wa Kokurasetai
在官网搜索会显示
![image](https://github.com/user-attachments/assets/1936cc35-f291-45a5-8fc5-800ace96c082)
而使用api
就会返回html

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Kaguya-sama wa Kokurasetai search through the API and compare the successful JSON response with the failed HTML response. Trace the API's error-response handling; done means failed requests return a consistent JSON response instead of HTML.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.