Array UserAgents

This is an array of elements in the structure of the Item object or root element. Used to specify the http://en.wikipedia.org/wiki/User_agent while performing of the task.

Attributes

  • May contain Priority attribute
  • May contain External attribute
  • While performing of task, one of the elements is selected , according with value of the Priority attribute. If external source contains no elements in the array UserAgents, then start page will be loaded with a random parameter of user-agent.

Structure

"UserAgents":[
 {
  "UserAgent":"<aUserAgent>",
  "External":"<aExternal>",
  "Priority":1
 },
 {
  "UserAgent":"<aUserAgent>",
  "External":"<aExternal>",
  "Priority":1
 },
 ...,
 {
  "UserAgent":"<aUserAgent>",
  "External":"<aExternal>",
  "Priority":1
 }
]

Example

"Domains":[
 {
  "Domain":"waspace.net"
 }
],
"Pages":[
 {
  "Page":"/about.html"
 }
],
"UserAgents":[
 {
  "UserAgent":"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16"
 }
]

The following actions will be performed:

  1. Installing user-agent of Google Chrome version 10.0.648.205 on Mac OS X
  2. Loading of the home page waspace.net/about.html.
  3. Further task performance …