Open MaxMatti opened 7 years ago
This commit should shed some light about this.
Right now, I'm working on GOG integration with the Lutris client. I've found that the only reliable way to authenticate and to get through the captchas + 2FA is to actually show them.
I have a Gtk dialog showing a webkit view and a GOG service here: https://github.com/lutris/lutris/blob/gog/lutris/gui/dialogs.py#L366 and here: https://github.com/lutris/lutris/blob/gog/lutris/services/gog.py
This has proven to be a working solution as opposed to every command line driven library I've encountered for GOG and Humble Bundle. Once we ship support for GOG, our plan to do exactly the same thing for Humble Bundle, using the same methods. Any other hack to work around account protection is bound to break at some point.
The example doesn't include how to deal with having to solve captchas. The source code which I scanned through only mentions that a signed captcha query and its result are needed. How do I obtain those?