-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging in to geocaching.com not working (Captcha problem) #157
Comments
I just had a quick look at the c:geo discussions on this issue. At the moment there are two possible solutions for this:
|
If the second point is a problem depends on the use case. for my use case: I just want to process some data for my own trackable. The code will probally not be released to the public. Passing the login cookie data will not be a problem |
The |
I have an working proof of concept in my forked repo: https://github.com/gotiniens/pycaching/tree/feature-use-token-for-requests Do you care to give any further hints en tips before I create an merge request? Usage is very simple, instead of the normal pycaching.login(username, password) to initialize an geocaching object you use pycaching.login_with_token(token) to initialize the object. You can get the token from the cookiestorage of your browser, it is the cookie called pskauth. potentianly I have to add some handling for when the cookie is expirded and we get presented an new cookie. But I have been using my current token for a couple of weeks now, with no problem. |
I somehow missed your last comment and just stumbled upon it when going through some of the open issues. It usually is much easier if we discuss the remaining details inside the pull request when the corresponding code is directly visible. So please open a pull request if you are still interested in providing the enhancement. What I have seen for now and probably should be changed:
|
as discussed @ cgeo/cgeo#9056
The login page of geocaching.com for some IP's adds an Captcha, when this happens pycaching fails with
A solution is to use an different IP, but that is sometimes easier said than done.
The text was updated successfully, but these errors were encountered: