PixivUtil2
PixivUtil2 copied to clipboard
Getting OAuth logging for certain fanbox user
Prerequisites
- [x] Did you read FAQ section in readme.md?
- [x] Did you test with the latest releases or commit ?
- [x] Did you search for existing issues in Issues?
Description
Trying to update fanbox user 5579659 using any of the available methods results in an OAuth login. Suddenly started a little over a week ago, hasn't happened before that. Doesn't happen for any of the other artists I follow.
Related line of code: https://github.com/Nandaka/PixivUtil2/blob/b7162b8bda1eaed0329459a8374406df4dce6871/PixivBrowserFactory.py#L695
Obviously artist.reference_image_id
is either 0 or null, but why that's suddenly the case I don't know.
Even after completing the OAuth instructions, it just errors and fails. But it should not even go to OAuth login in the first place.
Steps to Reproduce
- Start any of the fanbox methods for user 5579659
- Get OAuth login
- Follow instructions
- Error
Expected behavior: It should download the posts as normal, as before. Don't know why it suddenly needs OAuth for this specific user.
Actual behavior: Goes to OAuth login.
Log file: pixivutil.log
Versions
Tested with 20221029 as well as the latest 20230105.
Ohhh okay. This user deleted all their Pixiv uploads, and that's why artist.reference_image_id
ends up being empty...