Closed nnm711 closed 3 years ago
check your pixiv website settings? ensure it is allow R-18 mode and update the cookies. I tried with different artist (14095911 also nsfw) and it can download just fine.
Yes, that was it, I am sorry. I made a new account in February to avoid my main account getting banned, and understandably it was set up with R-18 content disabled. It works fine now, thanks. Dumb from me to read FAQ, but not come to the idea it's new account's settings causing it. (I already triggered some protection for couple hours once, by downloading ~10gb within 24 hours, started getting error 500s inside utility, and I could only load the main page, without images, the rest of site were throwing "unknown exception" errors. I thought I was fine with 10s download_delay, but whole day of letting it run racked up a lot of data transfer)
Prerequisites
Description
Hi, first of all, thank you for this utility, a lot of great work and very configurable. After Pixiv changed its API in February, I am having trouble with OAuth logins.
I have to use the cookie method to log in. To download works, I am using batch downloading from list.txt(method 4.). For most artists it works fine, however, out of 185 artists, for ~35 the utility attempts to use OAuth method and fails because of no credentials in config.
If I do provide username/password, the OAuth login, it of course fails due to the new API changes:
Digging a bit more into past issues here, I found this thread and this workaround to get "refresh_token". Plugging that into config alongside cookie (without cookie or login credentials the utility immediately exits), seem to pass the OAuth login, but PixivUtil finds no images and just happily continues down the list.
Affected PixivID examples(all nsfw):
4054206 4081073 4991228
Steps to Reproduce
Expected behavior:
Utility should download works of the artist.
Actual behavior:
Utility will ask for OAuth some artists, and fails to download their works. Even if OAuth login is successful, the utility finds no images, while the artist has images when using browser.
Versions
PixivUtil20210215-beta1
Thank you for your time, sorry to bother you.