Skip to content

Commit

Permalink
a status printout
Browse files Browse the repository at this point in the history
  • Loading branch information
kybernetyk committed Mar 21, 2012
1 parent a5be393 commit 9b1a363
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions reac.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
from selenium import webdriver
import captcha

username = "reac"
password = "reac"
username = "koksbanane2001"
password = "ficken"

# don't change anything below

Expand All @@ -35,7 +35,11 @@
browser.find_element_by_id('passwd2_reg').send_keys(password)

captcha_url = browser.find_element_by_class_name('capimage').get_attribute('src')

print "solving captcha: " + captcha_url
print "be patient ..."
solved_captcha = captcha.solve(captcha_url)
print "done."

browser.find_element_by_id('captcha_').click()
browser.find_element_by_id('captcha_').send_keys(solved_captcha)
Expand Down

0 comments on commit 9b1a363

Please sign in to comment.