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

[pixiv] Cannot retrive R-18/R-18G Images #5029

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

seaki
Copy link
Contributor

@seaki seaki commented Jan 7, 2024

Update User-Agent for pixiv API

@seaki seaki changed the title Cannot retrive pixiv R-18/R-18G Images [pixiv] Cannot retrive R-18/R-18G Images Jan 7, 2024
@mikf
Copy link
Owner

mikf commented Jan 7, 2024

I agree that User-Agent etc should probably be updated,
but what does it have to do with "Cannot retrive R-18/R-18G Images"?

Downloading R-18/R-18G works with both old and new UA as long as it is enabled in your Pixiv settings.
_

@seaki
Copy link
Contributor Author

seaki commented Jan 7, 2024

I already set it to "Show", but API does not return any information about R-18/R-18G images with older app version.
image

Note: We cannot retrive information about viewing restricted images for mobile app even we update User-Agent etc.
https://www.pixiv.net/info.php?id=9786
e.g. https://www.pixiv.net/artworks/106553021 is considered as prohibited image.

@mikf mikf merged commit 50eef1b into mikf:master Jan 8, 2024
9 checks passed
@seaki seaki deleted the fix/pixiv_r18 branch January 9, 2024 11:39
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 this pull request may close these issues.

2 participants