PixivUtil2 icon indicating copy to clipboard operation
PixivUtil2 copied to clipboard

Getting OAuth logging for certain fanbox user

Open daniels1989 opened this issue 1 year ago • 2 comments

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

  1. Start any of the fanbox methods for user 5579659
  2. Get OAuth login
  3. Follow instructions
  4. 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.

daniels1989 avatar May 15 '23 16:05 daniels1989

Ohhh okay. This user deleted all their Pixiv uploads, and that's why artist.reference_image_id ends up being empty...

daniels1989 avatar May 15 '23 17:05 daniels1989