adspower-browser 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,32 @@
1
+ # Proxy Management
2
+
3
+ **create-proxy** — Create a proxy.
4
+
5
+ - **proxies** (required): Array of proxy configs. Each item:
6
+ - **type** (required): `'http'` | `'https'` | `'ssh'` | `'socks5'`.
7
+ - **host** (required): Proxy host, ipV4/ipV6, e.g. 192.168.0.1.
8
+ - **port** (required): 0–65536, e.g. 8000.
9
+ - **user** (optional): Proxy username.
10
+ - **password** (optional): Proxy password.
11
+ - **proxy_url** (optional): URL used to refresh the proxy.
12
+ - **remark** (optional): Remark/description.
13
+ - **ipchecker** (optional): `'ipinfo'` | `'ip2location'` | `'ipapi'` | `'ipfoxy'`.
14
+
15
+ **update-proxy** — Update the proxy.
16
+
17
+ - **proxyId** (required): Unique id after the proxy is added.
18
+ - **type** (optional): `'http'` | `'https'` | `'ssh'` | `'socks5'`.
19
+ - **host**, **port**, **user**, **password** (optional).
20
+ - **proxyUrl** (optional): URL used to refresh the proxy.
21
+ - **remark** (optional).
22
+ - **ipchecker** (optional): `'ip2location'` | `'ipapi'` | `'ipfoxy'`.
23
+
24
+ **get-proxy-list** — Get the list of proxies.
25
+
26
+ - **limit** (optional): 1–200, default 50. Proxies per page.
27
+ - **page** (optional): Default 1.
28
+ - **proxyId** (optional): Array, e.g. `["proxy1","proxy2"]`.
29
+
30
+ **delete-proxy** — Delete the proxy/proxies.
31
+
32
+ - **proxyIds** (required): Array of proxy ids to delete, max 100.
@@ -0,0 +1,32 @@
1
+ # Random UA — `ua_system_version` enum
2
+
3
+ Used under **fingerprintConfig** → **random_ua** → **ua_system_version**.
4
+
5
+ ## Specific versions (fixed OS version)
6
+
7
+ | System | Values |
8
+ |----------|--------|
9
+ | Android | `Android 9`, `Android 10`, `Android 11`, `Android 12`, `Android 13`, `Android 14`, `Android 15` |
10
+ | iOS | `iOS 14`, `iOS 15`, `iOS 16`, `iOS 17`, `iOS 18` |
11
+ | Windows | `Windows 7`, `Windows 8`, `Windows 10`, `Windows 11` |
12
+ | Mac OS X | `Mac OS X 10`, `Mac OS X 11`, `Mac OS X 12`, `Mac OS X 13`, `Mac OS X 14`, `Mac OS X 15` |
13
+ | Linux | `Linux` (single value) |
14
+
15
+ ## Generic (random any version of that system)
16
+
17
+ - `Mac OS X` — random any macOS version
18
+ - `Windows` — random any Windows version
19
+ - `iOS` — random any iOS version
20
+ - `Android` — random any Android version
21
+ - `Linux` — random any Linux (same as specific `Linux` here)
22
+
23
+ ## Behavior
24
+
25
+ - **Omit** `ua_system_version`: UA is chosen at random across **all** systems.
26
+ - **Provide** an array: UA is chosen only from the listed system/versions (specific and/or generic can be mixed).
27
+
28
+ ## Examples
29
+
30
+ - `["Android 9", "iOS 14"]` — only Android 9 or iOS 14
31
+ - `["Android", "Mac OS X"]` — any Android version or any macOS version
32
+ - `["Windows 11", "Mac OS X 15"]` — only Windows 11 or Mac OS X 15
@@ -0,0 +1,14 @@
1
+ # UserProxyConfig (inline proxy config for create-browser / update-browser)
2
+
3
+ When using **userProxyConfig** instead of **proxyid**, pass the following object (field names match the API, mostly snake_case):
4
+
5
+ - **proxy_soft** (required): Proxy software type. `'brightdata'` | `'brightauto'` | `'oxylabsauto'` | `'922S5auto'` | `'ipfoxyauto'` | `'922S5auth'` | `'kookauto'` | `'ssh'` | `'other'` | `'no_proxy'`
6
+ - **proxy_type** (optional): Proxy type. `'http'` | `'https'` | `'socks5'` | `'no_proxy'`
7
+ - **proxy_host** (optional): Proxy host, e.g. `127.0.0.1`
8
+ - **proxy_port** (optional): Proxy port, e.g. `8080`
9
+ - **proxy_user** (optional): Proxy username
10
+ - **proxy_password** (optional): Proxy password
11
+ - **proxy_url** (optional): Full proxy URL, e.g. `http://127.0.0.1:8080`
12
+ - **global_config** (optional): Global config. `'0'` | `'1'`, default `0`
13
+
14
+ Example: `"userProxyConfig":{"proxy_soft":"no_proxy","proxy_type":"http","proxy_host":"127.0.0.1","proxy_port":"8080"}`