KgBC / just-dice-bot

Hi, this is a flexible betting bot for just-dice.com. Feel free to use it under GPL. If you want to donate some Beer/Satoshis: 1CDjWb7zupTfQihc6sMeDvPmUHkfeMhC83 Thanks. The ACES branch is considered stable, use this if you don't want to develop and do not need latest features: https://github.com/KgBC/just-dice-bot/tree/aces
GNU General Public License v2.0
18 stars 6 forks source link

CloudFare Captcha Issue #32

Open KgBC opened 10 years ago

KgBC commented 10 years ago

The new hoster presents a captcha for many tor IP's.

We cannot fix this, but in our reconnect method we will output the window title so that you know what's going on. You'll have to type the captcha manually if that happens. (Well, most of the time it reconnects 4-5 times before reaching the correct site)

Attention Required! | CloudFlare
KgBC commented 10 years ago

well, maybe we could handle some issues (by informing the user)

self.assertEqual("Your IP address has been blocked for an hour. Sorry for the inconvenience.", driver.find_element_by_css_selector("pre").text)

(will gather more information here)