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