is-antibot 2.5.5 → 2.5.7

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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "is-antibot",
3
3
  "description": "Detect antibot protection from 30+ providers — Cloudflare, Akamai, DataDome, PerimeterX, and more.",
4
4
  "homepage": "https://antibot.microlink.io/",
5
- "version": "2.5.5",
5
+ "version": "2.5.7",
6
6
  "types": "./src/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
@@ -0,0 +1,68 @@
1
+ {
2
+ "log": {
3
+ "version": "1.2",
4
+ "creator": {
5
+ "name": "microlink-api",
6
+ "version": "1.0.0"
7
+ },
8
+ "pages": [
9
+ {
10
+ "id": "page_1",
11
+ "title": "Hindustan Power closes financing for 435MWp solar project in India",
12
+ "startedDateTime": "2026-08-26T06:28:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-26T06:28:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.power-technology.com/news/hindustan-power-financing-435mwp-solar-india/",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.power-technology.com"
34
+ }
35
+ ],
36
+ "queryString": [],
37
+ "cookies": [],
38
+ "headersSize": -1,
39
+ "bodySize": 0
40
+ },
41
+ "response": {
42
+ "status": 200,
43
+ "statusText": "OK",
44
+ "httpVersion": "http/1.1",
45
+ "headers": [
46
+ {
47
+ "name": "content-type",
48
+ "value": "text/html; charset=utf-8"
49
+ },
50
+ {
51
+ "name": "set-cookie",
52
+ "value": "datadome=abc123; Max-Age=31536000; Domain=.power-technology.com; Path=/; Secure; SameSite=Lax"
53
+ }
54
+ ],
55
+ "cookies": [],
56
+ "content": {
57
+ "size": 307,
58
+ "mimeType": "text/html",
59
+ "text": "<html lang=\"en\"><head><title>power-technology.com</title></head><body style=\"margin:0\"><p id=\"cmsg\">Please enable JS and disable any ad blocker</p><script>var dd={'rt':'c','host':'geo.captcha-delivery.com','cookie':'abc123'}</script><script src=\"https://ct.captcha-delivery.com/c.js\"></script></body></html>"
60
+ },
61
+ "redirectURL": "",
62
+ "headersSize": -1,
63
+ "bodySize": 307
64
+ }
65
+ }
66
+ ]
67
+ }
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "log": {
3
+ "version": "1.2",
4
+ "creator": {
5
+ "name": "microlink-api",
6
+ "version": "1.0.0"
7
+ },
8
+ "pages": [
9
+ {
10
+ "id": "page_1",
11
+ "title": "Hindustan Power closes financing for 435MWp solar project in India",
12
+ "startedDateTime": "2026-08-26T06:28:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-26T06:28:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.power-technology.com/news/hindustan-power-financing-435mwp-solar-india/",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.power-technology.com"
34
+ }
35
+ ],
36
+ "queryString": [],
37
+ "cookies": [],
38
+ "headersSize": -1,
39
+ "bodySize": 0
40
+ },
41
+ "response": {
42
+ "status": 200,
43
+ "statusText": "OK",
44
+ "httpVersion": "http/1.1",
45
+ "headers": [
46
+ {
47
+ "name": "content-type",
48
+ "value": "text/html; charset=utf-8"
49
+ },
50
+ {
51
+ "name": "set-cookie",
52
+ "value": "datadome=abc123; Max-Age=31536000; Domain=.power-technology.com; Path=/; Secure; SameSite=Lax"
53
+ }
54
+ ],
55
+ "cookies": [],
56
+ "content": {
57
+ "size": 309,
58
+ "mimeType": "text/html",
59
+ "text": "<!DOCTYPE html><html><head><title>Hindustan Power closes financing for 435MWp solar project in India</title></head><body><article><h1>Hindustan Power closes financing for 435MWp solar project in India</h1><p>Hindustan Power has closed financing for a 435MWp solar project in India.</p></article></body></html>"
60
+ },
61
+ "redirectURL": "",
62
+ "headersSize": -1,
63
+ "bodySize": 309
64
+ }
65
+ }
66
+ ]
67
+ }
68
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "log": {
3
+ "version": "1.2",
4
+ "creator": {
5
+ "name": "microlink-api",
6
+ "version": "1.0.0"
7
+ },
8
+ "pages": [
9
+ {
10
+ "id": "page_1",
11
+ "title": "Robot or human?",
12
+ "startedDateTime": "2026-08-26T05:33:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-26T05:33:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.walmart.com/ip/Coolcold-15-6-17-3inch-Laptop-Cooling-Pad-with-6-Quiet-Fans-7-Height-Wind-Speed-Adjustable-2-USB-Port-Laptop-Cooer-With-Mobile-Phone-Holde/3031434175",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.walmart.com"
34
+ }
35
+ ],
36
+ "queryString": [],
37
+ "cookies": [],
38
+ "headersSize": -1,
39
+ "bodySize": 0
40
+ },
41
+ "response": {
42
+ "status": 200,
43
+ "statusText": "OK",
44
+ "httpVersion": "http/1.1",
45
+ "headers": [
46
+ {
47
+ "name": "content-type",
48
+ "value": "text/html; charset=utf-8"
49
+ }
50
+ ],
51
+ "cookies": [],
52
+ "content": {
53
+ "size": 329,
54
+ "mimeType": "text/html",
55
+ "text": "<!DOCTYPE html><html><head><title>Robot or human?</title></head><body><h1>Robot or human?</h1><p>Activate and hold the button to confirm that you’re human. Thank You!</p><div id=\"px-captcha\"></div><script>window._pxAppId='PXu6b0qd2S';var captchajs='/px/'+window._pxAppId+'/captcha/captcha.js?a=c&m=0&g=b'</script></body></html>"
56
+ },
57
+ "redirectURL": "",
58
+ "headersSize": -1,
59
+ "bodySize": 329
60
+ }
61
+ }
62
+ ]
63
+ }
64
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "log": {
3
+ "version": "1.2",
4
+ "creator": {
5
+ "name": "microlink-api",
6
+ "version": "1.0.0"
7
+ },
8
+ "pages": [
9
+ {
10
+ "id": "page_1",
11
+ "title": "Coolcold Laptop Cooling Pad - Walmart.com",
12
+ "startedDateTime": "2026-08-26T05:33:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-26T05:33:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.walmart.com/ip/Coolcold-15-6-17-3inch-Laptop-Cooling-Pad-with-6-Quiet-Fans-7-Height-Wind-Speed-Adjustable-2-USB-Port-Laptop-Cooer-With-Mobile-Phone-Holde/3031434175",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.walmart.com"
34
+ }
35
+ ],
36
+ "queryString": [],
37
+ "cookies": [],
38
+ "headersSize": -1,
39
+ "bodySize": 0
40
+ },
41
+ "response": {
42
+ "status": 200,
43
+ "statusText": "OK",
44
+ "httpVersion": "http/1.1",
45
+ "headers": [
46
+ {
47
+ "name": "content-type",
48
+ "value": "text/html; charset=utf-8"
49
+ }
50
+ ],
51
+ "cookies": [],
52
+ "content": {
53
+ "size": 297,
54
+ "mimeType": "text/html",
55
+ "text": "<!DOCTYPE html><html><head><title>Coolcold Laptop Cooling Pad - Walmart.com</title></head><body><article><h1>Coolcold Laptop Cooling Pad</h1><p>6 Quiet Fans, 7 Height adjustable.</p></article><script>window._pxAppId='PXu6b0qd2S'</script><script src=\"/px/PXu6b0qd2S/init.js\"></script></body></html>"
56
+ },
57
+ "redirectURL": "",
58
+ "headersSize": -1,
59
+ "bodySize": 297
60
+ }
61
+ }
62
+ ]
63
+ }
64
+ }
@@ -120,9 +120,19 @@
120
120
  }
121
121
  ]
122
122
  },
123
+ {
124
+ "type": "html",
125
+ "technique": "javascript",
126
+ "rules": [
127
+ {
128
+ "contains": "captcha-delivery.com"
129
+ }
130
+ ]
131
+ },
123
132
  {
124
133
  "type": "cookies",
125
134
  "technique": "cookie",
135
+ "statusCodes": [403, 429, 503],
126
136
  "rules": [
127
137
  {
128
138
  "cookie": "datadome="
@@ -151,16 +161,24 @@
151
161
  "technique": "javascript",
152
162
  "rules": [
153
163
  {
154
- "contains": "window._pxAppId"
155
- },
156
- {
157
- "contains": "pxInit"
164
+ "regex": "^(?=[\\s\\S]*window\\._pxAppId)(?=[\\s\\S]*(?:px-captcha|/captcha/captcha\\.js|_pxAction|<title\\b[^>]*>\\s*Robot or human\\??\\s*<\\/title>))",
165
+ "flags": "i"
158
166
  },
159
167
  {
160
168
  "contains": "_pxAction"
161
169
  }
162
170
  ]
163
171
  },
172
+ {
173
+ "type": "url",
174
+ "technique": "javascript",
175
+ "domain": "walmart.com",
176
+ "rules": [
177
+ {
178
+ "contains": "/blocked?"
179
+ }
180
+ ]
181
+ },
164
182
  {
165
183
  "type": "cookies",
166
184
  "technique": "cookie",