Brutal 164 Posted May 4, 2012 Report Share Posted May 4, 2012 I have been working on a gmail related bot, and of course have been met with trouble every step of the way - However, I did (eventually) realize that google uses different form processes based on the user agent of the visitor (pretty slick of them). For example, if you create an account generator using ie8 as your user agent, and it works flawlessly, and then you try to use a different user agent, it breaks your bot. So, here's the tip - If you are going to use randomized user agents in your bot, be prepared to test every user agent in your list and use the if/then/else options as needed in order to make sure your bot remains functional. Quote Link to post Share on other sites
AutoIM 5 Posted May 4, 2012 Report Share Posted May 4, 2012 I have been working on a gmail related bot, and of course have been met with trouble every step of the way - However, I did (eventually) realize that google uses different form processes based on the user agent of the visitor (pretty slick of them). For example, if you create an account generator using ie8 as your user agent, and it works flawlessly, and then you try to use a different user agent, it breaks your bot. So, here's the tip - If you are going to use randomized user agents in your bot, be prepared to test every user agent in your list and use the if/then/else options as needed in order to make sure your bot remains functional. That's a good point Brutal, thanks for pointing it out. And if some sites aren't doing it now, they may do later, so having the if useragent = x in now will make maintaining the code easier if they do make any changes later. Phil Quote Link to post Share on other sites
keiooz 1 Posted May 23, 2012 Report Share Posted May 23, 2012 Good tip and awesome post. Thanks for sharing. http://imagicon.info/cat/5-34/vbulletin-eek.gif Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 23, 2012 Report Share Posted May 23, 2012 when creating the account log the user agent used, then when your going to use that account, use that user agent 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.