PixivUtil2
PixivUtil2 copied to clipboard
Server reply: {u'captcha': u'The characters do not match.'}
Prerequisites
Description
I tried to login using but it keeps giving me an error about characters not matching. It returned as this: Server reply: {u'captcha': u'The characters do not match.'}. I changed my password to make sure but the same error returns every time. I even tried to put in my information under the config file, but same error. I also made another account to see, but nothing worked.
Steps to Reproduce
- Enter your login information.
Expected behavior: [What you expected to happen] I should've logged in.
Actual behavior: [What actually happened] The program cannot access my account.
Versions
Latest.
You can get this information from executing PixivUtil2.py --help
.
can you open the website without shown with captcha request? This program doesn't support captcha, so you best bet is by copying the cookies value after you login successfully to the website.
EDIT: usually login shouldn't show any captcha request, unless pixiv server detect anomaly with your account or ipaddress.
Same issue here- the suggested workaround allowed the app to bypass the captcha, but if Pixiv's authentication is getting wise to this app, it might be good to have some way to present the captcha to the user instead of having the login fail outright.
For others with this issue, the specific cookie you need to copy is PHPSESSID
for pixiv.net (not the www site, just bare pixiv.net
) and it appears to have a 1 month expiry, so you'll be doing this again in about four weeks.
Same here
copying the cookies value after you login successfully to the website.
How and where should I find my profile's cookies?
Thank you @NonaSuomi.
@dolco2
- Copy your session values from browser:
1. Open Firefox.
2. Go to Pixiv website and login.
3. Right click the page and select View Page Info.
4. Click the Security tab.
5. Click the View Cookies button.
6. Look for Cookie named = PHPSESSID.
7. Copy the content value and save it to the config.ini in the Authentication section.
ummm why i can't see my cookies I've been looking for 20 minutes to found nothing
Using Chrome Dev Tools
- Login to pixiv.
- press F12, select the application tab -> Storage -> Cookies
- Select pixiv.net, copy the value of PHPSESSID
Thanks Nandaka, it worked. I don't know how you manage to visualize the dev tools as they appear in your screenshot, but at least I know how to do with the cookies in the Settings of Chrome.
However, just until today I had been using the 0501 version with all my accounts (after the problems of a few months ago I split my old account and its many bookmarks into smaller, more manageable ones) smoothly, never ran into this issue. Then just like I do from time to time, I decided to delete the old version and get the new one... now I regret it because while this is not a difficult operation, I have to repeat it for every account, deleting and copying cookies every time.
Of course, it may just be that since my instances of the older version got the cookies last time, something more changed on pixiv so that version too would run into the same issue if I reinstalled it now. At they very least, it may mean that the cookies last more than a month - I'll see in early September.
And how this works with opera? I can't find a cookie list.
Q3. I cannot login to Pixiv!
- Check your password.
- Try to login to the Pixiv Website.
- Try to use the config.ini on the [Authentication] section.
- Check your date and time setting (e.g.: https://www.timeanddate.com/)
- Disable Daylight Saving Time and try again.
- Copy your session values from browser:
1. Open Firefox.
2. Go to Pixiv website and login, remember to enable [Remember Me]
check box.
3. Right click the page and select View Page Info.
4. Click the Security tab.
5. Click the View Cookies button.
6. Look for Cookie named = PHPSESSID.
7. Copy the content value.
8. Open config.ini, go to [Authentication] section, paste the value
to cookie, set keepsignedin = 1.
if you are using chrome:
- Go to Pixiv Website and login in the browser.
- Press F12, choose Application tab.
- On the left side, choose Storage -> Cookies -> https://www.pixiv.net.
- Copy the value for
PHPSESSID
and paste it to the config.ini file on the Authentication section.
take a screen shot?
Now I tried an older release and it works.
This might be able to be fixed using https://github.com/borisbabic/browser_cookie3 (need to login from your browser first, only support firefox and chrome).
@pongsatond see #814
@pongsatond see #814
Aw chucks. I gave up.
2020/11/04 has changed back to the old format of cookies
I currently test out a way to download in full mode normally When you change the password and play this screen, use F12 to directly view the new PHPSESSID Can change the same password Don’t go to the pixiv homepage to check the PHPSESSID Will not display the number of ID "XXXXXXX_" but only the command line after _ EDIT: also check your browser user-agent to match with config.ini
where do i put the cookies?
Where do I find config.ini I've been searching for ages
it work for pixiv, but i don't know what to do for pixiv fanbox
please someone help me
Where do I find config.ini I've been searching for ages
The file is created the first time you run the script if it's not there. In the same folder as everything else.