Sha256: 0d7ed540b09d70078dc5d3c3d1cea67afd6b336b25ea4d6ed4a7672ab4cc27a2

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

module Legitbot # :nodoc:
  # https://platform.openai.com/docs/gptbot
  class GPTBot < BotMatch
    # @fetch:url https://openai.com/gptbot-ranges.txt
    ip_ranges %w[
      20.9.164.0/24
      20.15.240.64/28
      20.15.240.80/28
      20.15.240.96/28
      20.15.240.176/28
      20.15.241.0/28
      20.15.242.128/28
      20.15.242.144/28
      20.15.242.192/28
      40.83.2.64/28
      52.230.152.0/24
    ]
  end

  rule Legitbot::GPTBot, %w[GPTBot]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
legitbot-1.9.4 lib/legitbot/gptbot.rb
legitbot-1.9.3 lib/legitbot/gptbot.rb
legitbot-1.9.2 lib/legitbot/gptbot.rb