Skip to content

Commit

Permalink
➡️ update the list of DuckDuckGo IPs
Browse files Browse the repository at this point in the history
  • Loading branch information
alaz committed Aug 21, 2019
1 parent e368afb commit fb970a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/legitbot/duckduckgo.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
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)
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
Expand Down

0 comments on commit fb970a4

Please sign in to comment.