jerwyk / PixeeSharp

A Pixiv API inspired by Pixivpy and PixivCS
MIT License
4 stars 0 forks source link

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

Open Montegro opened 3 years ago

Montegro commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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