lib/legitbot/google.rb



# frozen_string_literal: true

module Legitbot # :nodoc:
  # https://support.google.com/webmasters/answer/1061943
  # https://support.google.com/webmasters/answer/80553
  class Google < BotMatch
    domains 'google.com.', 'googlebot.com.'
  end

  rule Legitbot::Google, %w[
    APIs-Google
    AdsBot-Google-Mobile
    AdsBot-Google
    Googlebot
    Mediapartners-Google
    AdsBot-Google-Mobile-Apps
    FeedFetcher-Google
    Google-Read-Aloud
    DuplexWeb-Google
    googleweblight
    Storebot-Google
    Google-Site-Verification
  ]
end