Determining frame ID's/fields for ReCaptcha

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
fadetoblack
Posts: 24
Joined: Sat Oct 30, 2010 12:50 pm

Determining frame ID's/fields for ReCaptcha

Post by fadetoblack » Thu Jan 07, 2016 1:35 am

FF43, Imacros 8.9.6 , Windows 7 Ultimate 32 bit


Hi ,

I am going absolutely crazy with this as I am like 95% done but cant nail it ! I just cant work out the frame Id's/fields needed to define the input given from 2Captcha which is just box 1, and box 4 , for example. I'm sure you know what I mean :)


Code: Select all

VERSION BUILD=8961227 RECORDER=FX
TAB T=1
SET !REPLAYSPEED FAST
SET !EXTRACT_TEST_POPUP NO
SET !ERRORIGNORE YES
SET !DATASOURCE "C:\Users\dan\Documents\Imacros\Datasources\kikname.txt"
SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*100000 + 1); randomNumber;")
URL GOTO=https://kikfinder.com/submit
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:username CONTENT={{!COL1}}
TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:gender CONTENT=%female
TAG POS=1 TYPE=TEXTAREA FORM=NAME:NoFormName ATTR=ID:description CONTENT=hi
FRAME F=1
TAG POS=1 TYPE=DIV ATTR=ROLE:presentation&&CLASS:recaptcha-checkbox-checkmark&&TXT:
WAIT SECONDS=10
ONDOWNLOAD FOLDER=C:\Users\dan\Documents\iMacros\Kikfinder\ FILE=payload.jpg WAIT=YES
FRAME F=2
TAG POS=1 TYPE=IMG ATTR=SRC:https://www.google.com/recaptcha/api2/payload?c=* CONTENT=EVENT:SAVEPICTUREAS
WAIT SECONDS=5
TAB OPEN
TAB T=2
URL GOTO=https://2captcha.com/imacros.html
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://rucaptcha.com/in.php ATTR=NAME:key CONTENT=0e5c7dd0074b93e4b458f3b2ee2931d4
TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:http://rucaptcha.com/in.php ATTR=NAME:file CONTENT=C:\Users\dan\Documents\iMacros\Kikfinder\payload.jpg
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=TYPE:submit&&VALUE:recognize
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://rucaptcha.com/in.php ATTR=*
WAIT SECONDS=1
SET !EXTRACT NULL
TAG POS=1 TYPE=* ATTR=* EXTRACT=TXT
WAIT SECONDS=1
TAB CLOSE
TAB T=1
FRAME F=2
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:rc-imageselect-response-field CONTENT={{!EXTRACT}}
wait seconds=2
wait seconds=900


Like I say, I think the extraction is fine and everything else , but I cant for the life of me work out the frame to define or the response field..The rc-imageselect-response is the last attempt I made before smashing my face into the wall....

Would really appreciate your help as you have helped me before and worked wonders :)
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Determining frame ID's/fields for ReCaptcha

Post by chivracq » Thu Jan 07, 2016 2:09 pm

fadetoblack wrote:

Code: Select all

FF43, Imacros 8.9.6 , Windows 7 Ultimate 32 bit 
Hi ,

I am going absolutely crazy with this as I am like 95% done but cant nail it ! I just cant work out the frame Id's/fields needed to define the input given from 2Captcha which is just box 1, and box 4 , for example. I'm sure you know what I mean :)

Code: Select all

VERSION BUILD=8961227 RECORDER=FX
TAB T=1
SET !REPLAYSPEED FAST
SET !EXTRACT_TEST_POPUP NO
SET !ERRORIGNORE YES
SET !DATASOURCE "C:\Users\dan\Documents\Imacros\Datasources\kikname.txt"
SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*100000 + 1); randomNumber;")
URL GOTO=https://kikfinder.com/submit
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:username CONTENT={{!COL1}}
TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:gender CONTENT=%female
TAG POS=1 TYPE=TEXTAREA FORM=NAME:NoFormName ATTR=ID:description CONTENT=hi
FRAME F=1
TAG POS=1 TYPE=DIV ATTR=ROLE:presentation&&CLASS:recaptcha-checkbox-checkmark&&TXT:
WAIT SECONDS=10
ONDOWNLOAD FOLDER=C:\Users\dan\Documents\iMacros\Kikfinder\ FILE=payload.jpg WAIT=YES
FRAME F=2
TAG POS=1 TYPE=IMG ATTR=SRC:https://www.google.com/recaptcha/api2/payload?c=* CONTENT=EVENT:SAVEPICTUREAS
WAIT SECONDS=5
TAB OPEN
TAB T=2
URL GOTO=https://2captcha.com/imacros.html
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://rucaptcha.com/in.php ATTR=NAME:key CONTENT=0e5c7dd0074b93e4b458f3b2ee2931d4
TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:http://rucaptcha.com/in.php ATTR=NAME:file CONTENT=C:\Users\dan\Documents\iMacros\Kikfinder\payload.jpg
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=TYPE:submit&&VALUE:recognize
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://rucaptcha.com/in.php ATTR=*
WAIT SECONDS=1
SET !EXTRACT NULL
TAG POS=1 TYPE=* ATTR=* EXTRACT=TXT
WAIT SECONDS=1
TAB CLOSE
TAB T=1
FRAME F=2
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:rc-imageselect-response-field CONTENT={{!EXTRACT}}
wait seconds=2
wait seconds=900
Like I say, I think the extraction is fine and everything else , but I cant for the life of me work out the frame to define or the response field..The rc-imageselect-response is the last attempt I made before smashing my face into the wall....

Would really appreciate your help as you have helped me before and worked wonders :)
You may want to have a look at this very similar Thread...:
- iMacros + 2Captcha reCAPTCHA solution
(Even though the User didn't share their Final Script...)
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
User avatar
thecoder2012
Posts: 446
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: Determining frame ID's/fields for ReCaptcha

Post by thecoder2012 » Fri Feb 19, 2016 6:01 am

chivracq wrote:You may want to have a look at this very similar Thread...:
Not really helpful.
chivracq wrote:(Even though the User didn't share their Final Script...)
This (final) script is not from the user. He has changed few lines without knowledge. Final script from the original source (with updates and one captcha service as example): https://www.9kw.eu/grafik/plugins/9kweu ... cha_v2.zip
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
fadetoblack
Posts: 24
Joined: Sat Oct 30, 2010 12:50 pm

Re: Determining frame ID's/fields for ReCaptcha

Post by fadetoblack » Tue Jan 31, 2017 8:30 pm

Eventually I went over to 2Captchas new method

https://2captcha.com/newapi-recaptcha-en


Which is a god send indeed, and does away with a lot of stress!
User avatar
thecoder2012
Posts: 446
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: Determining frame ID's/fields for ReCaptcha

Post by thecoder2012 » Wed Feb 01, 2017 5:59 am

fadetoblack wrote:Which is a god send indeed, and does away with a lot of stress!
Sure but it's not really new. See 9kw with interactive mode and examples for imacros: https://www.9kw.eu/grafik/plugins/9kweu ... cha_v2.zip
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
Post Reply