humblebundle-python icon indicating copy to clipboard operation
humblebundle-python copied to clipboard

How to implement Captchas

Open MaxMatti opened this issue 8 years ago • 2 comments

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?

MaxMatti avatar Feb 19 '17 23:02 MaxMatti

This commit should shed some light about this.

aszlig avatar Jun 09 '17 03:06 aszlig

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.

strycore avatar Jun 09 '17 05:06 strycore