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

illust_comments returns <Response [404]>, even though illust_detail is okay #378

Open
Danipulok opened this issue Jan 13, 2025 · 0 comments · May be fixed by #379
Open

illust_comments returns <Response [404]>, even though illust_detail is okay #378

Danipulok opened this issue Jan 13, 2025 · 0 comments · May be fixed by #379

Comments

@Danipulok
Copy link
Contributor

MRE:

from pixivpy3 import AppPixivAPI

ACCESS_TOKEN = "xxx"
REFRESH_TOKEN = "yyy"

client = AppPixivAPI()
client.set_auth(access_token=ACCESS_TOKEN, refresh_token=REFRESH_TOKEN)

# Tested on those 3
# illust_id = 125723831
# illust_id = 125478796
illust_id = 124297432

details = client.illust_detail(illust_id)
print(details)  # OK
comments = client.illust_comments(illust_id)
print(comments)  # <Response [404]>
@Danipulok Danipulok linked a pull request Jan 13, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant