Sha256: dacacad29cfaf164398aa143ec03d8e1b15769caaa96dd477e3dd0d65750b001

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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