Sha256: 36aa2d90458a3c27c3f655a5425f4a28b918ee1746a4180da596b94f3df1d3be
Contents?: true
Size: 276 Bytes
Versions: 3
Compression:
Stored size: 276 Bytes
Contents
module Legitbot # https://duckduckgo.com/duckduckbot class DuckDuckGo < BotMatch ValidIPs = %w(107.20.237.51 23.21.226.191 107.21.1.8 54.208.102.37) def valid? DuckDuckGo::ValidIPs.include? @ip end end rule Legitbot::DuckDuckGo, %w(DuckDuckGo) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
legitbot-0.3.0 | lib/legitbot/duckduckgo.rb |
legitbot-0.2.7 | lib/legitbot/duckduckgo.rb |
legitbot-0.2.6 | lib/legitbot/duckduckgo.rb |