ZennoLab

Automate everything

用户工具

站点工具


侧边栏

本页面的其他翻译:

zh:captcha-recognition

这是本文档旧的修订版!


验证码识别

ZennoPoster提供多种识别验证码的方法 - 手工(通过手工识别服务)或者创建自己的验证码识别模块。

如果想要通过非手工的方式识别验证码,你必须创建一个识别模块。这些模块可以在动作设定界面使用(在工程制作器中双击动作,你会看到下拉列表)。同样在程序设定中需要设置你希望使用的验证码识别服务的账户信息。

有些时候你需要额外设置参数(但通常是不需要的)。你可以从你使用的服务网站上得到这些参数。在一些情况下你可能需要这些参数,比如处理算数验证码,例如:你需要输入12来表示7+5这个验证码的运算结果,而不是直接输入字面的7+5三个字符。其他例如reCAPTCHA或者验证码包含数字在或者大小写敏感的验证码。

If CAPTCHA comprises several images you can stick them to save time for recognizing separate parts of CAPTCHA. To stick CAPTCHA's (unless you have not done this when recording your template) open action's settings (double click), tick the 'Stick CAPTCHAs' box and identify as the 'Last CAPTCHA' the one which is the last in the row of CAPTCHA's to combine.

Text CAPTCHAs

You may often encounter a text CAPTCHA, especially on poorly protected web resources. This type of CAPTCHA differs from the simple (graphical) one by its nature - it's no longer a picture but plain text. You do not need to send this CAPTCHA anywhere; you can extract it (by parsing) right from the text on the web page. You can use Tabs - Data action. Choose what type of data to work with (text, source, DOM), tick Result checkbox, set regular expression for parsing.


Mathematical text CAPTCHAs

This is the same text CAPTCHA with a minor difference. Instead of text, a mathematical expression is used, e.g. 58+63. You can transform this text into an image (see info on flash CAPTCHA) and send it for recognition. Another option is to use a Own code - JavaScript action. You may insert the parsed expression (58+63) as a variable into the code area and after execution it will return the sum - 121 which you will be able to save to another variable for future use.


Flash CAPTCHAs or CAPTCHAs from any other element on page

ZennoPoster can turn (render) any element into an image. Flash is just an example. First find this element in the Element Tree, then by right clicking open the menu to select actions that can be performed upon this element. Select the 'This Is CAPTCHA' option and that's all!

zh/captcha-recognition.1345571568.txt.gz · 最后更改: 2015/07/14 15:50 (外部编辑)