is-antibot 2.5.1 → 2.5.2

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.1",
5
+ "version": "2.5.2",
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": "Just a moment...",
12
+ "startedDateTime": "2026-08-25T08:00:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-25T08:00:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.nknews.org/2026/06/tuberculosis-cases-trigger-mandatory-treatment-of-north-korean-workers-in-russia/",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.nknews.org"
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": "server",
52
+ "value": "cloudflare"
53
+ }
54
+ ],
55
+ "cookies": [],
56
+ "content": {
57
+ "size": 217,
58
+ "mimeType": "text/html",
59
+ "text": "<!DOCTYPE html><html><head><title>Just a moment...</title></head><body><div class=\"cf-turnstile\" data-sitekey=\"k\"></div><script src=\"https://challenges.cloudflare.com/turnstile/v0/api.js\" defer></script></body></html>"
60
+ },
61
+ "redirectURL": "",
62
+ "headersSize": -1,
63
+ "bodySize": 217
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": "Tuberculosis cases trigger mandatory treatment of North Korean workers in Russia",
12
+ "startedDateTime": "2026-08-25T08:00:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-25T08:00:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.nknews.org/2026/06/tuberculosis-cases-trigger-mandatory-treatment-of-north-korean-workers-in-russia/",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.nknews.org"
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": "server",
52
+ "value": "cloudflare"
53
+ }
54
+ ],
55
+ "cookies": [],
56
+ "content": {
57
+ "size": 349,
58
+ "mimeType": "text/html",
59
+ "text": "<!DOCTYPE html><html><head><title>Tuberculosis cases trigger mandatory treatment of North Korean workers in Russia</title></head><body><article><h1>Tuberculosis cases</h1><p>North Korean workers in Russia must undergo mandatory treatment.</p></article><script src=\"https://challenges.cloudflare.com/turnstile/v0/api.js\" defer></script></body></html>"
60
+ },
61
+ "redirectURL": "",
62
+ "headersSize": -1,
63
+ "bodySize": 349
64
+ }
65
+ }
66
+ ]
67
+ }
68
+ }
@@ -631,6 +631,21 @@
631
631
  {
632
632
  "type": "html",
633
633
  "technique": "captcha",
634
+ "rules": [
635
+ {
636
+ "regex": "^(?=[\\s\\S]*cf-turnstile)(?=[\\s\\S]*(?:Just a moment|Attention Required|Verify you are (?:a )?human))",
637
+ "flags": "i"
638
+ }
639
+ ]
640
+ },
641
+ {
642
+ "type": "html",
643
+ "technique": "captcha",
644
+ "statusCodes": [
645
+ 403,
646
+ 429,
647
+ 503
648
+ ],
634
649
  "rules": [
635
650
  {
636
651
  "contains": "cf-turnstile"