Ledzeplin1 0 Posted September 12, 2010 Report Share Posted September 12, 2010 I origionally posted in General Posts, but it belongs here, and I haven't seen anything about this on the forum yet. So, Here Goes... I have been creating huge bots that navigate to hundreds of different sites and registering on each. I found that if I have a common application I am working with on websites, ie: KickApps forums, Expression Engine forums, etc. each form is basically set up the same way on every website. So I then make one separate script which fills in the information on only one site, then for every other website which has the same form, or same name (Powered by Expression engine, KickApps, etc.) I will only have to place the navigation module in, then run script of the script with the form info in it for every website after. This way there is only two modules for each website and saves a hell of a lot of time! Just remember to throw in the wait finish and delays where needed, and will also work with captcha solving (For all that I have tryed so far). You could also pull URLS from a scraped list and do this, but I like to see what the page looks like in case there is a slight difference somewhere so there are less errors when I run it. Quote Link to post Share on other sites
theninjamanz 29 Posted September 12, 2010 Report Share Posted September 12, 2010 I origionally posted in General Posts, but it belongs here, and I haven't seen anything about this on the forum yet. So, Here Goes... I have been creating huge bots that navigate to hundreds of different sites and registering on each. I found that if I have a common application I am working with on websites, ie: KickApps forums, Expression Engine forums, etc. each form is basically set up the same way on every website. So I then make one separate script which fills in the information on only one site, then for every other website which has the same form, or same name (Powered by Expression engine, KickApps, etc.) I will only have to place the navigation module in, then run script of the script with the form info in it for every website after. This way there is only two modules for each website and saves a hell of a lot of time! Just remember to throw in the wait finish and delays where needed, and will also work with captcha solving (For all that I have tryed so far). You could also pull URLS from a scraped list and do this, but I like to see what the page looks like in case there is a slight difference somewhere so there are less errors when I run it. yes, its a good methodolody. I tend to run 2 subs. 1 does the login1 does the post. Split it up in this way and you end up changing a few fields each time you want to add a new site. Quote Link to post Share on other sites
UBotBuddy 331 Posted September 12, 2010 Report Share Posted September 12, 2010 Oh Yeah! Modular Programming is THE only way to go! Keep It Short & Simple (KISS) Quote Link to post Share on other sites
Praney Behl 314 Posted September 12, 2010 Report Share Posted September 12, 2010 I completely agree.. But the problem is that if you include the script then you have to have the the script included as .ubot file or as frank said changing the filetyoe, but that may work but risk of give your code away too.. So instead of that I use modular approach but using SUBs, the only thing is that it slows down the bot. As I have just completed a bot with over 148 subs and its slow asssss. trying to find an alternative. Praney Quote Link to post Share on other sites
JohnB 255 Posted September 12, 2010 Report Share Posted September 12, 2010 Try compiling them in groups and call the compiled versions instead of the source files. Quote Link to post Share on other sites
pftg4 102 Posted September 12, 2010 Report Share Posted September 12, 2010 OMG 148 subs dam that must be a bugger to find them when you get an error???? Pftg4 Quote Link to post Share on other sites
Praney Behl 314 Posted September 12, 2010 Report Share Posted September 12, 2010 Try compiling them in groups and call the compiled versions instead of the source files. John thanks for the tip How do you suggest passing variable/string to those compiled versions.. Any ideas? Praney Quote Link to post Share on other sites
meter 145 Posted September 12, 2010 Report Share Posted September 12, 2010 John thanks for the tip How do you suggest passing variable/string to those compiled versions.. Any ideas? PraneyExternal files. var1.txt, var2.txt etc... Quote Link to post Share on other sites
Praney Behl 314 Posted September 13, 2010 Report Share Posted September 13, 2010 External files. var1.txt, var2.txt etc... Thanks Meter, Its didn't come to mind Nice one Cheers mate! Praney Quote Link to post Share on other sites
Ledzeplin1 0 Posted October 9, 2010 Author Report Share Posted October 9, 2010 Try compiling them in groups and call the compiled versions instead of the source files. Hey, that's an idea! Thanks http://ubotstudio.com/forum/public/style_emoticons/default/smile.gif 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.