azuline / pixiv-api

A documented, idiomatic, and tested wrapper library around Pixiv's App API.
https://pixiv-api.readthedocs.io/
Apache License 2.0
129 stars 13 forks source link

Login not working, raises LoginError #15

Open ImmortalCake opened 3 years ago

ImmortalCake commented 3 years ago

Problem seems to be present in all versions from 0.3.6 to 1.0

DreiPixel commented 3 years ago

seems to work fine for me. im not even using the newest version in my project. can you post the code to get login into pixiv?

azuline commented 3 years ago

Confirmed, I am also not able to log in. My saved refresh token works though.

DreiPixel commented 3 years ago

oh yeah. refresh token works but email / password login doesnt. i forgot i save the token.

DreiPixel commented 3 years ago

there is no easy fix it seems. it looks like pixiv disabled password authentication.

more info here https://github.com/upbit/pixivpy/issues/158

rockclw commented 3 years ago

I don't know if that's my problem, but now I can't login with refresh token or password. How do you get your refresh token? I get mine with a program in https://gist.github.com/ZipFile/c9ebedb224406f4f11845ab700124362

Abdul-Muizz545 commented 2 years ago

Same for me, for some reason both the username/password and the refresh token approach is not working. I keep getting LoginError which seems to originate from the client.py file. I also used https://gist.github.com/ZipFile/c9ebedb224406f4f11845ab700124362 to get a refresh token

Abdul-Muizz545 commented 2 years ago

Any help would be greatly appreciated :)

Misaka-Tang commented 11 months ago

this time still can't use login().