我在从标记中机械化注册文本区域字段时遇到问题。在
示例URL:http://www.gegononta.gr/register.php
代码:
mech = mechanize.Browser()
url = "http://www.gegononta.gr/register.php"
response = mech.open(url)
mech.select_form(nr=1)
mech.form.set_all_readonly(False)
print mech.form
输出:
^{pr2}$我如何填写以下字段?在
<textarea cols="40" rows="3" name="recaptcha_challenge_field"></textarea>
实际上不是mechanize可以填充的字段。在
相关问题 更多 >
编程相关推荐