我想使用deathbycaptcha来解决Imacros中的验证码。
我看到了imacros的api,但它并不适合我。
我在做什么:
但结果是-1
任何人都可以帮助我吗?
这是他们的API
VERSION BUILD=844
URL GOTO=http://api.dbcapi.me/decaptcher?function=imagegroup&print_format=html
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:username CONTENT={{YOUR_DBC_USERNAME}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:password CONTENT={{YOUR_DBC_PASSWORD}}
TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:pict CONTENT={{PATH_TO_MAIN_IMAGE}}
TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:banner CONTENT={{PATH_TO_BANNER_IMAGE}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:banner_text CONTENT={{BANNER_TEXT}}
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:grid CONTENT={{GRID}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=*
TAG POS=6 TYPE=TD ATTR=* EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
这是我在imacros的代码
VERSION BUILD=10022823
TAB T=1
TAB CLOSEALLOTHERS
SET !EXTRACT_TEST_POPUP NO
FILEDELETE NAME=C:\captcha\captcha1.jpg
URL GOTO=https://www.jayde.com/submit-site.html
TAG POS=1 TYPE=IMG FORM=NAME:jayde-url-submit ATTR=SRC:https://rservice.ientry.com/captcha.srv
ONDOWNLOAD FOLDER=C:\captcha\ FILE=captcha1.jpg
TAG POS=1 TYPE=IMG FORM=NAME:jayde-url-submit ATTR=HREF:"https://rservice.ientry.com/captcha.srv" CONTENT=EVENT:SAVEITEM
tab open
tab t=2
URL GOTO=http://api.dbcapi.me/decaptcher?function=imagegroup&print_format=html
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:username CONTENT=myusername
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:password CONTENT=mypassword
TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:http://api.dbcapi.me/decaptcher ATTR=NAME:pict CONTENT=C:\captcha\captcha1.jpg
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=TYPE:submit
Wait seconds=20
TAG POS=6 TYPE=TD ATTR=* EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
tab close
Tab t=1
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:HUMAN-TEST CONTENT={{VAR1}}