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

Bug: Illust recommend without auth is not working (404) #340

Open
MaikoTan opened this issue Mar 5, 2024 · 2 comments
Open

Bug: Illust recommend without auth is not working (404) #340

MaikoTan opened this issue Mar 5, 2024 · 2 comments
Labels

Comments

@MaikoTan
Copy link

MaikoTan commented Mar 5, 2024

Example

from pixivpy3 import *

api = AppPixivAPI()

r = api.illust_recommended(req_auth=False)

print(r)

It prints:

{'error': {'user_message': "Specified end-point doesn't exist", 'message': '', 'reason': '', 'user_message_details': {}}}
@xiyihan0
Copy link
Contributor

xiyihan0 commented Mar 5, 2024

Well, it seems that the API which doesn't need authentication was deprecated:

        if req_auth:
            url = "%s/v1/illust/recommended" % self.hosts
        else:
            url = "%s/v1/illust/recommended-nologin" % self.hosts #Not working

@MaikoTan
Copy link
Author

MaikoTan commented Mar 5, 2024

Hmmm.
Is there any APIs alternatives could be used for recommandations without auth?

@upbit upbit added the question label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants