Closed tenyuhuang closed 4 years ago
Are you using the binary? This should have been addressed in #26. I uploaded a new release so please let me know if the issue persists.
I am using the source version (have also just tried the new 1.4.3 binary) and the session is still invalid. The response code is always 401.
I guess the login process has changed as https://id.fantia.jp/auth/login now fails and login is done at https://fantia.jp/sessions/signin. That requires reCAPTCHA so the only option now may be having the user provide their session cookie.
I wouldn't mind the change. If there is a place in-source where I could set the hard-coded value, that would be enough for me. If there was a CLI option, then even better.
Ideally I think it should have -c/--cookie to provide it directly and also a way to read from a cookies.txt
, so I'll try to include both.
Yeah the binary has the same issue, I'll try again with _session_id
when you implement it.
@EivV Please test from this branch: https://github.com/bitbybyte/fantiadl/tree/use-session-cookie
Yes, it is working now.
As the title says, fantiadl will return an
Error: Invalid session
after a password change; and it's not a wrong password either - on wrong password, it will threw "Error: Failed to login. Please verify your username and password", but with the new one, it will just return "Invalid session" instead.Tried again on a different network and OS, didn't work.
Could you look into the issue? Thanks in advance!