Topinambur223606 / PixelPlanetTools

Bot for pixelplanet.fun. Partially based on woyken/pixelplanet.fun-bot
35 stars 13 forks source link

Added option `--harassCaptchaMode` #32

Closed nautics889 closed 3 years ago

nautics889 commented 3 years ago

Added possibility to specify a flag -h (or --harassCaptchaMode) which enable an automatical retrying to place pixel after server asks for a captcha.

I found this useful to automatically retry to place pixel after bot faces a captcha because i don't need to switch between browsers and accorging terminal. Especially you could feel that having several instances of bot with different proxies running simultaneously. I tested a build with this update and bot worked correctly for me.

For now i hardcoded 30 sec as an interval to sleep during processing captcha, this wasn't my best and i haven't parametrized this point yet but it seemed convenient for me :)

Please feel free to change the patch or request a new updates about one.

Topinambur223606 commented 3 years ago

Thank you for idea, I'll implement this along with fix of #31