This is the type of task where your app provides a page URL address and a custom assignment for our workers. They complete it step by step and then return their complete browser fingerprint and cookies to your app, which it can use to continue the session.
Potential usage examples of this type of task:
Note that there are optional proxy parameters. Only HTTPS proxies are accepted, and "proxyAddress" must be an IP address.
Property | Type | Required | Purpose |
---|---|---|---|
type | String | Yes | AntiGateTask |
websiteURL | String | Yes | Address of a target web page where our worker will navigate. |
templateName | String | Yes | Name of a scenario template from our database. You can use an existing template or create your own. You can search for an existing template below this table. |
variables | Object | Yes | An object containing the template's variables and their values. |
domainsOfInterest | Array | No | List of domain names where we should collect cookies and localStorage data. This list can also be defined statically when editing а template. |
proxyAddress | String | Yes | Proxy IP address ipv4/ipv6. No host names or IP addresses from local networks. |
proxyPort | Integer | Yes | Proxy port |
proxyLogin | String | Yes | Login for proxy which requires authorization (basic) |
proxyPassword | String | Yes | Proxy password |
Property | Type | Purpose |
---|---|---|
cookies | Object | An object with cookies grabbed at the last page visited by a worker. |
localStorage | Object | Similar to cookies, an object with localStorage values grabbed on the last page. |
sessionStorage | Object | Similar to localStorage, an object with sessionStorage values grabbed on the last page. Unlike localStorage, values exist in the browser memory until the page is closed. |
fingerprint | Object | Browser fingerprint parameters. Use them along with cookies and localStorage to recreate worker browser sessions in your software. |
url | String | URL of the page where execution of the template was finished |
domain | String | Domain name of the final page |
HTMLsInBase64 | Array | An array of HTML snapshots of the page areas encoded in base64. Snapshots are taken by "TAKE_HTML_SNAPSHOT_BY_SELECTOR" steps in AntiGate templates. |
screenshots | Array | Screenshots taken from worker's browser, if any. To order screenshots, add a TAKE_SCREENSHOT step to your template. |
requestHeaders | Array | Request headers from "domainsOfInterest", if any. To order headers, enable option "Collect request HTTP headers from domains of interest" in your template |
responseHeaders | Array | Response headers from "domainsOfInterest", if any. To order headers, enable option "Collect response HTTP headers from domains of interest" in your template |
{
"errorId":0,
"status":"ready",
"solution":
{
"gRecaptchaResponse":"3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3"
},
"cost":"0.001500",
"ip":"46.98.54.221",
"createTime":1472205564,
"endTime":1472205570,
"solveCount":"0"
}