Sha256: 35bc1ebd7c3b2cd9f3c16aebc152520b1f6e72f7da20fc9623e5a81b5e9fceba

Contents?: true

Size: 451 Bytes

Versions: 1

Compression:

Stored size: 451 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.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
    ]
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legitbot-1.9.0 lib/legitbot/gptbot.rb