# Common Request Options

# Value type

Value Type refer to Javascript.

  • string " or ' quoted strings, such as "hello", "yes"
  • boolean true or false
  • int Integer
  • float Float number, such as 1.0 or 0.2
  • datetime Expressed as string , UTC time, for example: "2021-12-24T20:30:30Z"
  • array JSON Array, [1, 2, 3]
  • object JSON Object, similar to python's dict, Java's HashMap, {"key":"value"}

# Request Options

Requests can use the following options:

Name Type Default Required Description
region string "" NO Specify Availability Zone:
  • us USA West
  • hk Asia Hongkong
  • jp Asia Tokyo
  • fr Europe Frankfurt
pageLimit int 0 NO Max Page Scraped, if <= 0 not limited
proxy string "" NO Proxy server url, socks5/http/https are supported.

For example: https://username:password@your_proxy_server:port

disabledImage boolean false NO Disabled image load, Pages load faster
enabledAdBlock boolean false NO Disabled AD load, Pages load faster
lang string en NO Browser lang
waitLoad int 0 NO Maximum time to wait for document dom ready, is the millisecond. 3000 is 3 seconds
delay int 0 NO Time to sleep, not blocked page loading, is the millisecond. 3000 is 3 seconds
device string "" NO Specify the device startup of the browser, see also Emulated Device
headers Array [] NO Http Request extra headers, item value is object has two fields:
  • key string key name
  • value string
For example: [{"key":"X-Token","value":"your_value"}]
cookies Array [] NO Http Request cookies, item value is object has two fields:
  • key string key name
  • value string
For example: [{"key":"cookie_name_1","value":"cookie_value"}]