Need Solution for google recaptcha - when captcha comes suddenly

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
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
mizanrobi
Posts: 8
Joined: Sun Apr 26, 2020 6:46 pm

Need Solution for google recaptcha - when captcha comes suddenly

Post by mizanrobi » Sat May 16, 2020 6:03 pm

FCI: iMB v12.6 'Trial', Win10_x32

Hi
Please accept my honor and love in advance who is going to response this post.

Code: Select all

VERSION BUILD=601105 RECORDER=FX
SET !TIMEOUT_STEP 0
SET !ERRORIGNORE YES
TAB T=1
SET !DATASOURCE data.csv
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!LOOP}}

URL GOTO=https://www.google.com/search?&q={{!COL1}}

WAIT SECONDS=1   
TAG POS=1 TYPE=DIV ATTR=ID:result-stats EXTRACT=TXT
SET result EVAL("var s=\"{{!extract}}\";s=s.replace(/,/g,\"\");s=s.split(\" \");s[1];")
 
SET !EXTRACT NULL
ADD !EXTRACT {{result}}

SAVEAS TYPE=EXTRACT FOLDER=D:\mizanrobi\output-files FILE=result.csv
WAIT SECONDS=3


I am using above code to extract google search result as csv format. The code has no issue. Problem is after running the loops 7 times or generally 13 times or any random times captcha comes (I am not robot) and I need pause the loop to solve captcha manually. I am expecting to implement captcha solution in my code so each time captcha comes imacros solve it automatically and the the code runs without interrupt . As you can see I am using csv file as input to run google search which contain 2000+ rows so I can not sit and solve captcha manually.

I have search for solution in this forum and got info that may be I have to buy a captcha solution service but do not know how it will work with my current iim file as the captcha comes suddenly rather than the site which contains a form with I am a robot captcha always there.

Thank You

FCI: iMB v12.6 'Trial', Win10_x32
Post Reply