Skip to content

Commit

Permalink
Merge pull request #9 from kirichkov/patch-1
Browse files Browse the repository at this point in the history
Updates DuckDuckBot IP addresses
  • Loading branch information
alaz authored Mar 14, 2019
2 parents 57fbc5b + 413c3d9 commit 61f97e3
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 61f97e3

Please sign in to comment.