Determining frame ID's/fields for ReCaptcha

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Determining frame ID's/fields for ReCaptcha

by fadetoblack on Wed Jan 06, 2016 6:35 pm

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 :)
fadetoblack
 
Posts: 24
Joined: Sat Oct 30, 2010 5:50 am

Re: Determining frame ID's/fields for ReCaptcha

by chivracq on Thu Jan 07, 2016 7:09 am

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)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6471
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Determining frame ID's/fields for ReCaptcha

by thecoder2012 on Thu Feb 18, 2016 11:01 pm

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!
User avatar
thecoder2012
 
Posts: 109
Joined: Sat Aug 15, 2015 10:14 am
Location: Internet

Re: Determining frame ID's/fields for ReCaptcha

by fadetoblack on Tue Jan 31, 2017 1: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!
fadetoblack
 
Posts: 24
Joined: Sat Oct 30, 2010 5:50 am

Re: Determining frame ID's/fields for ReCaptcha

by thecoder2012 on Tue Jan 31, 2017 10:59 pm

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!
User avatar
thecoder2012
 
Posts: 109
Joined: Sat Aug 15, 2015 10:14 am
Location: Internet


Return to Data Extraction and Web Screen Scraping

Who is online

Users browsing this forum: No registered users and 4 guests

-->