Code Monkey home page Code Monkey logo

Comments (8)

DerPit avatar DerPit commented on September 14, 2024

Can't really answer the main question - but are you sure you have the right cookies? I'm using Vivaldi/Chromium and "Export Cookies 0.3.", and get two different ones offered: for gog.com and for www.gog.com. You need the gog.com ones...

from gogrepo.

evancg81 avatar evancg81 commented on September 14, 2024

Did you ever resolve this? I've tried everything - various cookie files, various login attempts, various passwords (in case there were invalid characters or something). I can't get this to work - just keep getting "login failed, verify your username/password and try again."

Using Windows 10 and Python3.

from gogrepo.

 avatar commented on September 14, 2024

Did you ever resolve this? I've tried everything - various cookie files, various login attempts, various passwords (in case there were invalid characters or something). I can't get this to work - just keep getting "login failed, verify your username/password and try again."

Using Windows 10 and Python3.

I've now tried again and the login surprisingly went through! Unless I'm entirely mistaken I had deleted the exported cookie, here is the syntax from my gog-cookies.dat created by gogrepo:

#LWP-Cookies-2.0
Set-Cookie3:<the following content removed>
Set-Cookie3:<the following content removed>
Set-Cookie3:<the following content removed>
Set-Cookie3:<the following content removed>
Set-Cookie3:<the following content removed>
Set-Cookie3:<the following content removed>

All lines likely contain personally identifiable information so I can't sadly share much more.

The only gogrepo-related change I remember doing is installing OpenSSL (pip install pyopenssl ) for Kalanyr/gogrepoc (which I'm not running now).

Unfortunately it was never clear to me what specifically fixed the login failed, verify your username/password and try again. error. I then started receiving the CAPTCHA error, gave up and didn't run the program until now. I recommend deleting your exported cookie file and periodically trying again, maybe once a day or so.

from gogrepo.

evancg81 avatar evancg81 commented on September 14, 2024

Thanks for the response! You weren't kidding about the best solution being "try again later". This is a literal copy\paste from an open console I've had. As you can tell by the timestamp, one was yesterday around 6:15pm and the other was today around 2:50pm. Literally no changes between these other than pressing up and hitting enter in the console window.

H:\GOG>python gogrepo.py login [email protected] password
18:14:30 | attempting gog login as '[email protected]' ...
18:14:32 | login failed, verify your username/password and try again.
18:14:32 | exiting...

H:\GOG>python gogrepo.py login [email protected] password
14:50:07 | attempting gog login as '[email protected]' ...
14:50:12 | login successful!
14:50:12 | exiting...

Maybe some weird excess activity block from GOG that the script couldn't interpret. Either way, it's running now and looking great.

from gogrepo.

tiehichi avatar tiehichi commented on September 14, 2024

This may be because the function of detecting reCAPTCHA has failed, and the login failure is caused by reCAPTCHA.

You can replace line 553 like this

if len(etree.findall('.//div[@class="g-recaptcha form__recaptcha"]')) > 0:

I have already submitted a pull request #43

from gogrepo.

tritigr avatar tritigr commented on September 14, 2024

from gogrepo.

DerPit avatar DerPit commented on September 14, 2024

from gogrepo.

eddie3 avatar eddie3 commented on September 14, 2024

Thanks @tiehichi , I merged your PR which should fix the recaptcha detection.

from gogrepo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.