hecolivares 1 Posted April 2, 2019 Report Share Posted April 2, 2019 I`ve created this small script for bulk domain appraisals on GoDaddy. I´ve adapted a multi threading script I found here but it´s a little unreliable. I need this to be lightning fast and to be able to connect through proxies (backend storm proxies). Things to notice: I´m grabbing my list from a local file. Example list item: https://www.godaddy.com/domain-value-appraisal/appraisal/?isc=gdrpf730&checkAvail=1&domainToCheck=ubot.com I´m exporting the appraisals to a local file Thanks for any help on optimizing this script clear cookies clear list(%Domain List) clear list(%Domain Value) set list position(%Domain List,0) add list to list(%Domain List,$list from file("LOCAL FILE HERE"),"Delete","Global") ui drop down("Thread Count","2,3,4,5,6,7,8,9,10",#num threads) ui text box("Number of accounts",#number accounts) set(#num created,0,"Global") set(#used threads,0,"Global") loop(#number accounts) { loop while($comparison(#used threads,">=",#num threads)) { wait(1) } loop process() } define loop process { increment(#used threads) increment(#num created) registration procedure() } define registration procedure { thread { in new browser { registration code here() decrement(#used threads) } } } define registration code here { if($comparison(#num created,"<=",#number accounts)) { then { comment("PLACE YOUR CODE TO ME MULTI THREADED HERE") navigate($next list item(%Domain List),"Wait") wait for browser event("Page Loaded","") wait for element(<image="___IMAGE___1___IMAGE___">,"","Appear") add list to list(%Domain Value,$scrape attribute(<class="exact-domain-result">,"innertext"),"Delete","Global") save to file("LOCAL FILE HERE FOR EXPORT",%Domain Value) } else { } } } Quote Link to post Share on other sites
HelloInsomnia 1103 Posted April 4, 2019 Report Share Posted April 4, 2019 I've got a video that explains how multithreading works: https://www.youtube.com/watch?v=Zef13L3Im1A Also, don't save files from inside of a thread unless you lock it first. 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.