Open TrustAsia opened 12 months ago
刚翻了下网页版 发现似乎官方的网页版是有实现这个功能的 接口大概是
https://www.pixiv.net/ajax/user/{画师ID}/illusts/tag?tag={TAG标签}&offset={偏移值(从几号开始)}&limit={似乎是指返回48条数据}&lang={语言 中文为zh}&version={这个不知道是什么 是个40位的字母和数字混合 实测不加也能正常返回}
返回是标准的JSON格式 类似这个
{
"error": false,
"message": "",
"body": {
"works": [
{},
{},
{
"id": "82959018",
"title": "崩坏三 抱胸的符华老婆",
"illustType": 0,
"xRestrict": 0,
"restrict": 0,
"sl": 2,
"url": "https://i.pximg.net/c/250x250_80_a2/img-master/img/2020/07/14/00/12/18/82959018_p0_square1200.jpg",
"description": "",
"tags": [
"崩坏三",
"符华",
"HUA",
"崩壞3rd",
"赤鸢",
"炽翎"
],
"userId": "8079455",
"userName": "流石",
"width": 750,
"height": 1000,
"pageCount": 3,
"isBookmarkable": true,
"bookmarkData": null,
"alt": "#崩坏三 崩坏三 抱胸的符华老婆 - 流石的插画",
"titleCaptionTranslation": {
"workTitle": null,
"workCaption": null
},
"createDate": "2020-07-14T00:12:18+09:00",
"updateDate": "2020-07-14T00:12:18+09:00",
"isUnlisted": false,
"isMasked": false,
"aiType": 0,
"profileImageUrl": "https://i.pximg.net/user-profile/img/2020/07/20/02/25/11/19019526_dc3419970856a2264e4185a8c03415b7_50.jpg"
},
{},
{}
],
"total": 5,
"zoneConfig": {
"header": {
"url": "https://pixon.ads-pixiv.net/show?zone_id=header&format=js&s=1&up=0&a=48&ng=g&l=zh&uri=%2Fajax%2Fuser%2F_PARAM_%2Fillusts%2Ftag&ref=www.pixiv.net&K=2776c29b639f4&D=cf9dfab38c5328ea&ab_test_digits_first=0&uab=50&yuid=FxgEKSg&num=66be0d09860"
},
"footer": {
"url": "https://pixon.ads-pixiv.net/show?zone_id=footer&format=js&s=1&up=0&a=48&ng=g&l=zh&uri=%2Fajax%2Fuser%2F_PARAM_%2Fillusts%2Ftag&ref=www.pixiv.net&K=2776c29b639f4&D=cf9dfab38c5328ea&ab_test_digits_first=0&uab=50&yuid=FxgEKSg&num=66be0d09653"
},
"500x500": {
"url": "https://pixon.ads-pixiv.net/show?zone_id=bigbanner&format=js&s=1&up=0&a=48&ng=g&l=zh&uri=%2Fajax%2Fuser%2F_PARAM_%2Fillusts%2Ftag&ref=www.pixiv.net&K=2776c29b639f4&D=cf9dfab38c5328ea&ab_test_digits_first=0&uab=50&yuid=FxgEKSg&num=66be0d09339"
},
"t_responsive_320_50": {
"url": "https://pixon.ads-pixiv.net/show?zone_id=t_responsive_320_50&format=js&s=1&up=0&a=48&ng=g&l=zh&os=and&uri=%2Fajax%2Fuser%2F_PARAM_%2Fillusts%2Ftag&ref=www.pixiv.net&K=2776c29b639f4&D=cf9dfab38c5328ea&ab_test_digits_first=0&uab=50&yuid=FxgEKSg&num=66be0d09773"
},
"t_responsive_300_250": {
"url": "https://pixon.ads-pixiv.net/show?zone_id=t_responsive_300_250&format=js&s=1&up=0&a=48&ng=g&l=zh&os=and&uri=%2Fajax%2Fuser%2F_PARAM_%2Fillusts%2Ftag&ref=www.pixiv.net&K=2776c29b639f4&D=cf9dfab38c5328ea&ab_test_digits_first=0&uab=50&yuid=FxgEKSg&num=66be0d09530"
},
"logo": {
"url": "https://pixon.ads-pixiv.net/show?zone_id=logo_side&format=js&s=1&up=0&a=48&ng=g&l=zh&uri=%2Fajax%2Fuser%2F_PARAM_%2Fillusts%2Ftag&ref=www.pixiv.net&K=2776c29b639f4&D=cf9dfab38c5328ea&ab_test_digits_first=0&uab=50&yuid=FxgEKSg&num=66be0d09893"
},
"ad_logo": {
"url": "https://pixon.ads-pixiv.net/show?zone_id=t_logo_side&format=js&s=1&up=0&a=48&ng=g&l=zh&os=and&uri=%2Fajax%2Fuser%2F_PARAM_%2Fillusts%2Ftag&ref=www.pixiv.net&K=2776c29b639f4&D=cf9dfab38c5328ea&ab_test_digits_first=0&uab=50&yuid=FxgEKSg&num=66be0d09401"
}
},
"extraData": {
"meta": {
"title": "#崩坏3rd - 流石的插画 - pixiv",
"description": "pixiv",
"canonical": "https://www.pixiv.net/users/8079455/illustrations/%E5%B4%A9%E5%9D%8F%E4%B8%89",
"ogp": {
"description": "想画炽翎 一直没画",
"image": "https://embed.pixiv.net/user_profile.php?id=8079455&k=5aca5fff665bd4b8f685942a09a32a9a",
"title": "#崩坏3rd - 流石的插画",
"type": "article"
},
"twitter": {
"description": "想画炽翎 一直没画",
"image": "https://embed.pixiv.net/user_profile.php?id=8079455&k=5aca5fff665bd4b8f685942a09a32a9a",
"title": "#崩坏3rd - 流石的插画",
"card": "summary_large_image"
},
"alternateLanguages": {
"ja": "https://www.pixiv.net/users/8079455/illustrations/%E5%B4%A9%E5%9D%8F%E4%B8%89",
"en": "https://www.pixiv.net/users/8079455/illustrations/%E5%B4%A9%E5%9D%8F%E4%B8%89"
},
"descriptionHeader": "贴上「#崩坏3rd」标签的「流石」用户的插画作品有0件投稿。"
}
}
}
}
Acknowledgements / 确认事项
What feature should be added? / 需要加上什么功能
在用户主页或者作品页面中添加按Tag筛选用户作品的选项
Official support / 官方支持情况
Is this feature supported by any other third-party pixiv app? / 第三方App是否支持
PxViewer(已停止运营)
Any other information can be help? / 其它信息
No response