Sha256: e2fa79775b5f5c22b0cd2b8485450962fcabe305d16243d3f5219b77b2aa4b38
Contents?: true
Size: 306 Bytes
Versions: 12
Compression:
Stored size: 306 Bytes
Contents
module Legitbot # https://blogs.bing.com/webmaster/2012/08/31/how-to-verify-that-bingbot-is-bingbot/ class Bing < BotMatch ValidDomains = ["search.msn.com."] def valid? subdomain_of?(*Bing::ValidDomains) && reverse_resolves? end end rule Legitbot::Bing, %w(Bingbot bingbot) end
Version data entries
12 entries across 12 versions & 1 rubygems