Jump to content


Photo

Gmail Tip...


  • Please log in to reply
3 replies to this topic

#1 Software

Software

    Advanced Member

  • UBot Users
  • PipPipPip
  • 209 posts
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 04 May 2012 - 01:23 PM

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.

Profits Are Better Than Wages.


#2 AutoIM

AutoIM

    Advanced Member

  • UBot Users
  • PipPipPip
  • 214 posts
  • LocationLake District, UK
  • OS:Windows Vista
  • Total Memory:1Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 04 May 2012 - 02:29 PM

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

#3 keiooz

keiooz

    Member

  • Members
  • PipPip
  • 26 posts
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v3.5
  • License:Standard

Posted 22 May 2012 - 08:32 PM

Good tip and awesome post. Thanks for sharing. Posted Image

#4 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 3164 posts
  • LocationMichigan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 22 May 2012 - 09:19 PM

when creating the account log the user agent used, then when your going to use that account, use that user agent :)

Web Automation Bots @ BotGuru.net Want a Custom bot? click here or Email me
rjr.jpg

botgurusecured-banner.png

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users