Skip to content

Commit

Permalink
🛠️ fetch IPs for Marginalia automatically (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaz authored Aug 15, 2024
1 parent b677015 commit 5295234
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion lib/legitbot/marginalia.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,23 @@
module Legitbot # :nodoc:
# https://www.marginalia.nu/marginalia-search/for-webmasters/
class Marginalia < BotMatch
# https://x.com/MarginaliaNu/status/1824172354081263991
# @fetch:url https://search.marginalia.nu/crawler-ips.txt
ip_ranges %w[
81.170.128.21/32
81.170.128.52
193.183.0.162
193.183.0.163
193.183.0.164
193.183.0.165
193.183.0.166
193.183.0.167
193.183.0.168
193.183.0.169
193.183.0.170
193.183.0.171
193.183.0.172
193.183.0.173
193.183.0.174
]
end

Expand Down

0 comments on commit 5295234

Please sign in to comment.