pixivpy: [OAuth] Unable to Login to api using google account & password
Currently found it is unable to login, however when using pixiv account it works.
Note:
-
In pixiv webpage, I can’t directly login when entering my google account/password, however I can login with the “Login With Google” Button
-
In my memories, google auth should work as well (However I cannot test it for now, since it won’t work anymore)
Here is the tests I use:
from pixivpy3 import *
api = AppPixivAPI()
api.auth("someMail@gmail.com", "somePassword")
Returned Error Message: (Account/Password were tested, able to login to Google to use OAuth to login to Pixiv)
HTTP 400: {"has_error":true,"errors":{"system":{"message":"103:pixiv ID、またはメールアドレス、パスワードが正しいかチェックしてください。","code":1508}}}
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (11 by maintainers)
@upbit @Mikubill
感謝指點。使用 @Mikubill 提供的方法後不管是使用 Pixiv ID 或是 使用 Google 的 OAuth 都可以正常運行了!(也許可以在 Readme 裡面註記這點? 有需要的話我可以幫忙)
如果沒有其它問題,我想可以把這個 Issue close 了?
使用Google密码显然是不可以登录的。OAuth的情形下需要使用Pixiv ID + 在Pixiv设置的密码 登陆。
可以使用找回密码( https://myaccount.pixiv.net/password/reminder )的方法设置Pixiv账户密码。
另:其实通过Google OAuth登录Pixiv的时候应该是有设置密码的步骤的,使用当时设置的密码即可。当然如果忘了的话就只能重设密码啦(w
嗯,我看看 pixiv-app-api 的auth部分怎么实现的
我这边测试是OAuth登录后自动就有Pixiv ID了,然后就可以用ID登录了。~因为没有Google小号所以没测Google登录,不过Pixiv网页版的oauth都是用gigya来完成验证的,应该差不多吧(逃~
已经使用Google账号进行了测试,也是会自动生成Pixiv ID的
按 @yanagiragi 的意思,他好像直接拿Google账号密码去登录Pixiv了(?
Pixiv 应该是借助gigya的服务进行第三方登录的
如果是OAuth登录的,可以使用Pixiv ID进行登录。(刚刚试了一下可以登录OAuth账户哒)
Pixiv ID在如下位置
嗯,是我理解錯了,聽你描述這個可能和OAuth賬號有關(我驗證的都是Pixiv註冊的賬號)
先留著這個問題,我找時間註冊個賬號試試
Dup of #92 Try upgrade to v3.5.1 to fix this.
You can try it first, if it still doesn’t work, you can provide more details here