legitbot 1.11.1 → 1.11.3
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.
- checksums.yaml +4 -4
- data/lib/legitbot/ahrefs.rb +6 -34
- data/lib/legitbot/openai.rb +21 -11
- data/lib/legitbot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 920e670692d3ec1a2238fcd38a59c9bac8fb3814efa1f88131a1094553189017
|
|
4
|
+
data.tar.gz: bf1339decbcb3bb413145f7ce4e23329eaf78fa34ec6b83a2377cb9dd44c096e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6d95f68c1510bb79cc13dc8c6359824a6df1759a9d797e57c6b8c4a3206a3a73b6d37119e7b2de25eac0a2d9e96b8a91e03e49274c0e7fe2fce3ee257517235
|
|
7
|
+
data.tar.gz: d0443ce91877e9f7a890ff9086ccc3180a6019bcc91313e77f275287f71c364bc923d3ebb50828336a39305df804473ab3dc0a7f839b0da4030cd2f3c3ab52a5
|
data/lib/legitbot/ahrefs.rb
CHANGED
|
@@ -42,40 +42,6 @@ module Legitbot # :nodoc:
|
|
|
42
42
|
148.113.128.0/24
|
|
43
43
|
148.113.130.0/24
|
|
44
44
|
167.114.139.0/24
|
|
45
|
-
168.119.64.245/32
|
|
46
|
-
168.119.64.246/31
|
|
47
|
-
168.119.64.248/30
|
|
48
|
-
168.119.64.252/31
|
|
49
|
-
168.119.64.254/32
|
|
50
|
-
168.119.65.43/32
|
|
51
|
-
168.119.65.44/30
|
|
52
|
-
168.119.65.48/29
|
|
53
|
-
168.119.65.56/30
|
|
54
|
-
168.119.65.60/31
|
|
55
|
-
168.119.65.62/32
|
|
56
|
-
168.119.65.107/32
|
|
57
|
-
168.119.65.108/30
|
|
58
|
-
168.119.65.112/29
|
|
59
|
-
168.119.65.120/30
|
|
60
|
-
168.119.65.124/31
|
|
61
|
-
168.119.65.126/32
|
|
62
|
-
168.119.68.117/32
|
|
63
|
-
168.119.68.118/31
|
|
64
|
-
168.119.68.120/30
|
|
65
|
-
168.119.68.124/31
|
|
66
|
-
168.119.68.126/32
|
|
67
|
-
168.119.68.171/32
|
|
68
|
-
168.119.68.172/30
|
|
69
|
-
168.119.68.176/29
|
|
70
|
-
168.119.68.184/30
|
|
71
|
-
168.119.68.188/31
|
|
72
|
-
168.119.68.190/32
|
|
73
|
-
168.119.68.235/32
|
|
74
|
-
168.119.68.236/30
|
|
75
|
-
168.119.68.240/29
|
|
76
|
-
168.119.68.248/30
|
|
77
|
-
168.119.68.252/31
|
|
78
|
-
168.119.68.254/32
|
|
79
45
|
176.31.139.0/27
|
|
80
46
|
195.154.122.0/23
|
|
81
47
|
195.154.126.0/23
|
|
@@ -89,6 +55,12 @@ module Legitbot # :nodoc:
|
|
|
89
55
|
198.244.226.0/24
|
|
90
56
|
198.244.240.0/24
|
|
91
57
|
198.244.242.0/24
|
|
58
|
+
202.8.40.0/23
|
|
59
|
+
202.8.42.0/24
|
|
60
|
+
202.8.43.0/25
|
|
61
|
+
202.8.43.128/26
|
|
62
|
+
202.8.43.192/27
|
|
63
|
+
202.8.43.224/29
|
|
92
64
|
202.94.84.110/31
|
|
93
65
|
202.94.84.112/31
|
|
94
66
|
]
|
data/lib/legitbot/openai.rb
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
module Legitbot # :nodoc:
|
|
4
4
|
# https://platform.openai.com/docs/gptbot
|
|
5
5
|
class GPTBot < BotMatch
|
|
6
|
-
#
|
|
7
|
-
# @
|
|
6
|
+
# @fetch:url https://openai.com/gptbot.json
|
|
7
|
+
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
|
8
8
|
ip_ranges %w[
|
|
9
|
+
4.227.36.0/25
|
|
9
10
|
20.171.206.0/24
|
|
11
|
+
20.171.207.0/24
|
|
10
12
|
52.230.152.0/24
|
|
11
13
|
52.233.106.0/24
|
|
12
14
|
]
|
|
@@ -14,28 +16,36 @@ module Legitbot # :nodoc:
|
|
|
14
16
|
|
|
15
17
|
# https://platform.openai.com/docs/bots
|
|
16
18
|
class OpenAIChat < BotMatch
|
|
17
|
-
#
|
|
18
|
-
# @
|
|
19
|
+
# @fetch:url https://openai.com/chatgpt-user.json
|
|
20
|
+
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
|
19
21
|
ip_ranges %w[
|
|
20
|
-
|
|
21
|
-
40.84.180.224/28
|
|
22
|
+
4.196.118.112/28
|
|
22
23
|
13.65.240.240/28
|
|
23
24
|
20.97.189.96/28
|
|
24
25
|
20.161.75.208/28
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
20.215.188.192/28
|
|
27
|
+
23.98.142.176/28
|
|
28
|
+
23.98.179.16/28
|
|
29
|
+
40.84.180.64/28
|
|
30
|
+
40.84.180.224/28
|
|
27
31
|
40.84.221.208/28
|
|
28
32
|
40.84.221.224/28
|
|
29
|
-
|
|
33
|
+
51.8.155.48/28
|
|
34
|
+
52.156.77.144/28
|
|
35
|
+
52.225.75.208/28
|
|
36
|
+
135.237.131.208/28
|
|
37
|
+
172.178.140.144/28
|
|
38
|
+
172.178.141.128/28
|
|
30
39
|
]
|
|
31
40
|
end
|
|
32
41
|
|
|
33
42
|
# https://platform.openai.com/docs/bots
|
|
34
43
|
class OpenAISearch < BotMatch
|
|
35
|
-
#
|
|
36
|
-
# @
|
|
44
|
+
# @fetch:url https://openai.com/searchbot.json
|
|
45
|
+
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
|
37
46
|
ip_ranges %w[
|
|
38
47
|
20.42.10.176/28
|
|
48
|
+
51.8.102.0/24
|
|
39
49
|
172.203.190.128/28
|
|
40
50
|
]
|
|
41
51
|
end
|
data/lib/legitbot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: legitbot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.11.
|
|
4
|
+
version: 1.11.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Azarov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fast_interval_tree
|