Sha256: 82f29eef7c5a62f29ce176dc693e78abde192b0e90b631129613edf899abdeac
Contents?: true
Size: 348 Bytes
Versions: 1
Compression:
Stored size: 348 Bytes
Contents
module Legitbot # https://duckduckgo.com/duckduckbot class DuckDuckGo < BotMatch ValidIPs = %w(50.16.241.113 50.16.241.114 50.16.241.117 50.16.247.234 52.204.97.54 52.5.190.19 54.197.234.188 54.208.100.253 23.21.227.69) def valid? DuckDuckGo::ValidIPs.include? @ip end end rule Legitbot::DuckDuckGo, %w(DuckDuckBot) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
legitbot-0.3.2 | lib/legitbot/duckduckgo.rb |