Skip to content

Commit

Permalink
Updates DuckDuckBot IP addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
kirichkov authored Mar 13, 2019
1 parent 57fbc5b commit 413c3d9
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(72.94.249.34 72.94.249.35 72.94.249.36 72.94.249.37 72.94.249.38)
ValidIPs = %w(107.20.237.51 23.21.226.191 107.21.1.8 54.208.102.37)

def valid?
DuckDuckGo::ValidIPs.include? @ip
Expand Down

0 comments on commit 413c3d9

Please sign in to comment.