Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type always returns 'illust' even request for manga #8

Open
liding58 opened this issue Jul 8, 2020 · 2 comments
Open

type always returns 'illust' even request for manga #8

liding58 opened this issue Jul 8, 2020 · 2 comments

Comments

@liding58
Copy link

liding58 commented Jul 8, 2020

https://api.imjad.cn/pixiv/v2/?id=82504734

pull back response with below,
meta_pages.size>0 meta_single_page=0
apparently it's a manga not single illust,
but type: "illust"

is this caused by default value of request param type is 'illust' and it won't check again whether endpoint is or not manga?

@liding58
Copy link
Author

liding58 commented Jul 8, 2020

also
request for
https://api.imjad.cn/pixiv/v2/?type=rank&mode=day_male_r18&page=1&date=2020-07-03
and seach for 82713496
turns out that object has type: "illust" but meanwhile meta_pages.size>0 && meta_single_page.size ==0

@journey-ad
Copy link
Owner

API服务仅对Pixiv App Api做了一层封装,并未对返回内容做太多处理,因此这个问题可能是Pixiv的错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants