is-antibot 2.5.7 → 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.
|
|
5
|
+
"version": "2.5.8",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
@@ -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
|
+
}
|
package/src/providers.json
CHANGED
|
@@ -784,6 +784,17 @@
|
|
|
784
784
|
{
|
|
785
785
|
"type": "html",
|
|
786
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],
|
|
787
798
|
"rules": [
|
|
788
799
|
{
|
|
789
800
|
"contains": "TencentCaptcha"
|