Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch IPs for Marginalia automatically #146

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading