Чтобы получить запрос каптчи нужно лишь зажать ctrl+r секунд на 5 и она появится.
http://www.equibase.com/profiles/Results.cfm?type=Horse&refno=4639879®istry=T
Я получаю ГовноКаптча
А должно быть, что-то вроде ХорошаяКаптча
Ну и сам скрипт.
from grab import Grab g = Grab() g.go('http://www.equibase.com/profiles/Results.cfm?type=Horse&refno=4639879®istry=T') string = g.response.body parser = '<BR><BR><center>.*\s.*\s.*<img src="(.*?)"><br>' captcha = re.findall(parser, string) g.go(captcha[0]) output = open("captcha.jpg","wb") output.write(string) output.close()