is-antibot 2.5.6 → 2.5.8

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.6",
5
+ "version": "2.5.8",
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": "请点击按钮开始验证",
12
+ "startedDateTime": "2026-08-26T10:02:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-26T10:02:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.donews.com/news/detail/1/6151122.html",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.donews.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": 196,
54
+ "mimeType": "text/html",
55
+ "text": "<!DOCTYPE html><html><head><title>请点击按钮开始验证</title></head><body><div id=\"TencentCaptcha\"></div><script src=\"https://turing.captcha.qcloud.com/TCaptcha.js\"></script></body></html>"
56
+ },
57
+ "redirectURL": "",
58
+ "headersSize": -1,
59
+ "bodySize": 196
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": "京东发布AI 全景图,未来三年持续投入构建万亿人工智能生态- DoNews",
12
+ "startedDateTime": "2026-08-26T10:02:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-26T10:02:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.donews.com/news/detail/1/6151122.html",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.donews.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": 418,
54
+ "mimeType": "text/html",
55
+ "text": "<!DOCTYPE html><html><head><title>京东发布AI 全景图,未来三年持续投入构建万亿人工智能生态- DoNews</title></head><body><article><h1>京东发布AI 全景图</h1><p>京东发布AI 全景图,未来三年持续投入构建万亿人工智能生态。</p></article><span id=\"TencentCaptcha\">获取验证码</span><script src=\"https://turing.captcha.qcloud.com/TCaptcha.js\"></script></body></html>"
56
+ },
57
+ "redirectURL": "",
58
+ "headersSize": -1,
59
+ "bodySize": 418
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="
@@ -774,6 +784,17 @@
774
784
  {
775
785
  "type": "html",
776
786
  "technique": "captcha",
787
+ "rules": [
788
+ {
789
+ "regex": "^(?=[\\s\\S]*(?:TencentCaptcha|turing\\.captcha))(?=[\\s\\S]*(?:请点击按钮开始验证|请完成安全验证|tcaptcha_transform))",
790
+ "flags": "i"
791
+ }
792
+ ]
793
+ },
794
+ {
795
+ "type": "html",
796
+ "technique": "captcha",
797
+ "statusCodes": [403, 429, 503],
777
798
  "rules": [
778
799
  {
779
800
  "contains": "TencentCaptcha"