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

I seem to be having an issue with logging in... #4

Open
Montegro opened this issue Jun 5, 2021 · 5 comments
Open

I seem to be having an issue with logging in... #4

Montegro opened this issue Jun 5, 2021 · 5 comments

Comments

@Montegro
Copy link

Montegro commented Jun 5, 2021

I'm not getting a particular error or anything, however when my program attempts to login it seems to fail? It has been fine since last year up till yesterday when this started occurring. I double checked by logging into pixiv.net and the credentials are fine and there doesn't seem to have been some sorta notification I needed to push through. Any ideas?

@jerwyk
Copy link
Owner

jerwyk commented Jun 5, 2021

Seems that the login api call is returning bad request. It might be that pixiv changed how their api works... I need to poke around a bit

@jerwyk
Copy link
Owner

jerwyk commented Jun 5, 2021

So I was right, pixiv has updated their Oauth sometime this year, and as a result you cannot use the username and password login method anymore.. Im still reading for a workaround..

@jerwyk
Copy link
Owner

jerwyk commented Jun 5, 2021

For more info see: upbit/pixivpy#158

Im not too sure how to fix this, for the time being you can try the APIs without auth

@jerwyk
Copy link
Owner

jerwyk commented Jun 5, 2021

Right now there seems to not be a clear solution, however the api is still usable.
Instead of calling login with username and password, call the function Auth instead with the access token.
You can get the token following some instructions mentioned in the issue above.

@jerwyk
Copy link
Owner

jerwyk commented Jun 5, 2021

I have updated the readme with instructions on how to login.

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

No branches or pull requests

2 participants