james5453545 1 Posted June 4, 2019 Report Share Posted June 4, 2019 i have this captcha plugin that works well in sinle threadAs soon as i increase threads it doesnt work , it solves captcha in only 1 thread this is the code Please help to separate list item in each thread set(#ApiKey,"67fefergtrgesfdwdweedweedewdew","Global")set user agent("Chrome")loop(20) { thread { in new browser { navigate("https://www.google.com/recaptcha/api2/demo","Wait") wait for browser event("Everything Loaded","") wait(1) set(#GoogleSiteKey,$scrape attribute(<class="g-recaptcha">,"data-sitekey"),"Global") clear list(%_rawCaptcha) add list to list(%_rawCaptcha,$list from text($plugin function("UltimateCaptchaServices.dll", "$2Captcha Service V2", #ApiKey, "", #GoogleSiteKey, $url, "", "", "", "HTTP", "Solve Captcha", "Recaptcha-NoCaptcha", "", "Yes", "No"),$new line),"Delete","Global") change attribute(<id="g-recaptcha-response">,"value",$list item(%_rawCaptcha,1)) click(<value="Submit">,"Left Click","No") wait(5000000) } }} Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 5, 2019 Report Share Posted June 5, 2019 This is a good place to start for multithreading: Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.