hoanglo 3 Posted January 24, 2016 Report Share Posted January 24, 2016 Hi, This is the first time I try to build a bot that can multi-thread and everything is still very confusing to me.Here's the gist of the bot I'm trying to build:So I have a list of several thousand items to analyze. I want to analyze 10 items at a time. (10 items will not be finished at the same time). I want when an item finishes, the bot moves on to the next item that hasn't been analyzed on the list until the end.Please suggest the overall structure of this multi-thread bot.And it'd be awesome if anyone can explain how to use thread spawn or point me to a tutorial. Thank you very much. Quote Link to post Share on other sites
Brutal 164 Posted January 25, 2016 Report Share Posted January 25, 2016 Latest version of ubot 5 has really good thread tools... Open ubot, click on the tutorials tab in the menu and do a search for threads... They have pretty foundational threading laid out so that you can start to get your mind wrapped around it. thread spawn(30,10) { in new browser { navigate("http://www.ubotstudio.com/resources","Wait") wait for browser event("DOM Ready","") comment("Your Actions To Take On The Page Go Here.") } } Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 25, 2016 Report Share Posted January 25, 2016 Here is how you can do it normally if Thread Spawn doesn't work properly: http://network.ubotstudio.com/forum/index.php/topic/10042-new-v4-tutorial-multi-threading-example/ Quote Link to post Share on other sites
hoanglo 3 Posted January 26, 2016 Author Report Share Posted January 26, 2016 Thank you guys.I'll try your suggestions 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.