pixiv-viewer icon indicating copy to clipboard operation
pixiv-viewer copied to clipboard

type always returns 'illust' even request for manga

Open liding58 opened this issue 4 years ago • 2 comments

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 avatar Jul 08 '20 06:07 liding58

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

liding58 avatar Jul 08 '20 06:07 liding58

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

journey-ad avatar Jul 08 '20 14:07 journey-ad