legitbot 1.14.2 → 1.14.4
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/anthropic.rb +30 -66
- data/lib/legitbot/duckduckgo.rb +976 -686
- data/lib/legitbot/openai.rb +19 -4
- data/lib/legitbot/perplexity.rb +19 -8
- data/lib/legitbot/validators/domains.rb +1 -1
- 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: 02563badd0939eb22a5d86a04c4be7581c1f9bf503fa1e865a92fe83fb789038
|
|
4
|
+
data.tar.gz: ccc7efc66953bd25c35a777700661f25d456edb5bb467b1e68a18705c8e4b0ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15d69eccd1748df04e33ab53adac0693437421fa98458397a257dc2fbc0dd558bb42ac81e41037d456abccef360306ee7f5362bdbecf5da8e32f01fa2d46b57f
|
|
7
|
+
data.tar.gz: c853aaf7a1c3de23fd9d3ab3ff73bf89ff6c2b53039dfeb8fc3e8c12f282b12b12e1285250ae4e00fe44b3c42cb027cefce995fb6316b5e3752a9463e9b96e38
|
data/lib/legitbot/anthropic.rb
CHANGED
|
@@ -6,31 +6,19 @@ module Legitbot # :nodoc:
|
|
|
6
6
|
# @fetch:url https://claude.com/crawling/bots.json
|
|
7
7
|
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
|
8
8
|
ip_ranges %w[
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
34.
|
|
15
|
-
34.
|
|
16
|
-
34.150.241.79/32
|
|
9
|
+
34.152.124.140/32
|
|
10
|
+
34.153.21.190/32
|
|
11
|
+
34.162.27.34/32
|
|
12
|
+
34.162.86.102/32
|
|
13
|
+
34.162.90.102/32
|
|
14
|
+
34.162.111.78/32
|
|
15
|
+
34.162.153.71/32
|
|
17
16
|
34.162.191.81/32
|
|
18
17
|
34.162.230.222/32
|
|
19
18
|
34.162.244.71/32
|
|
20
|
-
34.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
34.182.220.85/32
|
|
24
|
-
34.182.222.37/32
|
|
25
|
-
34.182.225.167/32
|
|
26
|
-
34.182.226.151/32
|
|
27
|
-
34.182.226.221/32
|
|
28
|
-
34.186.108.163/32
|
|
29
|
-
35.221.29.174/32
|
|
30
|
-
35.245.89.239/32
|
|
31
|
-
35.245.175.129/32
|
|
32
|
-
40.124.101.48/28
|
|
33
|
-
136.107.176.208/32
|
|
19
|
+
34.186.252.4/32
|
|
20
|
+
136.79.143.251/32
|
|
21
|
+
136.83.20.215/32
|
|
34
22
|
216.73.216.0/22
|
|
35
23
|
]
|
|
36
24
|
end
|
|
@@ -40,31 +28,19 @@ module Legitbot # :nodoc:
|
|
|
40
28
|
# @fetch:url https://claude.com/crawling/bots.json
|
|
41
29
|
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
|
42
30
|
ip_ranges %w[
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
34.
|
|
49
|
-
34.
|
|
50
|
-
34.150.241.79/32
|
|
31
|
+
34.152.124.140/32
|
|
32
|
+
34.153.21.190/32
|
|
33
|
+
34.162.27.34/32
|
|
34
|
+
34.162.86.102/32
|
|
35
|
+
34.162.90.102/32
|
|
36
|
+
34.162.111.78/32
|
|
37
|
+
34.162.153.71/32
|
|
51
38
|
34.162.191.81/32
|
|
52
39
|
34.162.230.222/32
|
|
53
40
|
34.162.244.71/32
|
|
54
|
-
34.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
34.182.220.85/32
|
|
58
|
-
34.182.222.37/32
|
|
59
|
-
34.182.225.167/32
|
|
60
|
-
34.182.226.151/32
|
|
61
|
-
34.182.226.221/32
|
|
62
|
-
34.186.108.163/32
|
|
63
|
-
35.221.29.174/32
|
|
64
|
-
35.245.89.239/32
|
|
65
|
-
35.245.175.129/32
|
|
66
|
-
40.124.101.48/28
|
|
67
|
-
136.107.176.208/32
|
|
41
|
+
34.186.252.4/32
|
|
42
|
+
136.79.143.251/32
|
|
43
|
+
136.83.20.215/32
|
|
68
44
|
216.73.216.0/22
|
|
69
45
|
]
|
|
70
46
|
end
|
|
@@ -74,31 +50,19 @@ module Legitbot # :nodoc:
|
|
|
74
50
|
# @fetch:url https://claude.com/crawling/bots.json
|
|
75
51
|
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
|
76
52
|
ip_ranges %w[
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
34.
|
|
83
|
-
34.
|
|
84
|
-
34.150.241.79/32
|
|
53
|
+
34.152.124.140/32
|
|
54
|
+
34.153.21.190/32
|
|
55
|
+
34.162.27.34/32
|
|
56
|
+
34.162.86.102/32
|
|
57
|
+
34.162.90.102/32
|
|
58
|
+
34.162.111.78/32
|
|
59
|
+
34.162.153.71/32
|
|
85
60
|
34.162.191.81/32
|
|
86
61
|
34.162.230.222/32
|
|
87
62
|
34.162.244.71/32
|
|
88
|
-
34.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
34.182.220.85/32
|
|
92
|
-
34.182.222.37/32
|
|
93
|
-
34.182.225.167/32
|
|
94
|
-
34.182.226.151/32
|
|
95
|
-
34.182.226.221/32
|
|
96
|
-
34.186.108.163/32
|
|
97
|
-
35.221.29.174/32
|
|
98
|
-
35.245.89.239/32
|
|
99
|
-
35.245.175.129/32
|
|
100
|
-
40.124.101.48/28
|
|
101
|
-
136.107.176.208/32
|
|
63
|
+
34.186.252.4/32
|
|
64
|
+
136.79.143.251/32
|
|
65
|
+
136.83.20.215/32
|
|
102
66
|
216.73.216.0/22
|
|
103
67
|
]
|
|
104
68
|
end
|