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

使用Web API解决部分插画无法从APP API加载的问题 #592

Open
3 of 5 tasks
HeXis-YS opened this issue Mar 18, 2024 · 3 comments
Open
3 of 5 tasks

使用Web API解决部分插画无法从APP API加载的问题 #592

HeXis-YS opened this issue Mar 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@HeXis-YS
Copy link
Contributor

HeXis-YS commented Mar 18, 2024

Acknowledgements / 确认事项

  • I have updated to the latest version of the app / 已经更新到最新版
  • I have tried the FAQ / 试过FAQ了. FAQ
  • I have searched the existing issues and this is new ticket NOT a duplicate or related to another issue / 搜索过其他issue,确实不是重复问题
  • I will fill out the title and the information in this template / 填好标题和内容

What feature should be added? / 需要加上什么功能

受Google Play政策限制,为了在Play Store保留官方客户端,Pixiv从API层面限制了某些插画的访问。具体表现为一些带有贩售链接的插画无法从移动端访问,以及某些画师/插画的简介在移动客户端被屏蔽(包括官方客户端和第三方客户端)。这些被屏蔽的内容在网页上可以正常显示。
这是一个已经被证实的问题。(参考Notsfsssf/pixez-flutter#604mikf/gallery-dl#4327
因此希望开发者可以考虑使用Web API作为这种情况下的替代,以便用户可以获得完整的体验。

Official support / 官方支持情况

  • Is this feature supported by the official pixiv app? / 官方App是否支持

Is this feature supported by any other third-party pixiv app? / 第三方App是否支持

No response

Any other information can be help? / 其它信息

根据其他Issue提供的信息,Nandaka/PixivUtil2使用了Web API,可以作为参考。
官方公告:https://www.pixiv.net/info.php?id=9786

@HeXis-YS HeXis-YS added the enhancement New feature or request label Mar 18, 2024
@LoxiaLiSA
Copy link
Contributor

我也一直想用web api , 可用的功能实在是太多了,可以做一大堆新的衍生功能出来,但是自己不知道怎么才能用起来,每次花时间尝试调用都不成功,

@HeXis-YS
Copy link
Contributor Author

感觉这部分功能其实不难做。
我测试下来Web API最基本的功能是不需要登录的,比如查看插画信息(包括R-18)、用户作品。这已经能够满足大部分需求了。
返回的json可能跟APP API的不太一样。有空我尝试搞一下。

@HeXis-YS
Copy link
Contributor Author

用隔壁pixez试验了一下,现在已经能成功恢复收藏列表被屏蔽的插画了。

这边确实是水平所限,也没学过Kotlin,改不动代码。
虽然Dart也没学过,但是好在代码清晰比较好改

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

No branches or pull requests

2 participants