Sha256: 84fc24b21079e2f3435a631917fddb8844a7b884d2d5a5e3be3534e0a13d38d8
Contents?: true
Size: 787 Bytes
Versions: 2
Compression:
Stored size: 787 Bytes
Contents
# frozen_string_literal: true module CrawlerDetect module Library module Exclusions EXCLUSIONS = %q[ Safari.[\d\.]* Firefox.[\d\.]* Chrome.[\d\.]* Chromium.[\d\.]* MSIE.[\d\.] Opera\/[\d\.]* Mozilla.[\d\.]* AppleWebKit.[\d\.]* Trident.[\d\.]* Windows NT.[\d\.]* Android [\d\.]* Macintosh. Ubuntu Linux [ ]Intel Mac OS X [\d_]* (like )?Gecko(.[\d\.]*)? KHTML, CriOS.[\d\.]* CPU iPhone OS ([0-9_])* like Mac OS X CPU OS ([0-9_])* like Mac OS X iPod compatible x86_.. i686 x64 X11 rv:[\d\.]* Version.[\d\.]* WOW64 Win64 Dalvik.[\d\.]* \.NET CLR [\d\.]* Presto.[\d\.]* Media Center PC BlackBerry Build Opera Mini\/\d{1,2}\.\d{1,2}\.[\d\.]*\/\d{1,2}\. Opera \.NET[\d\.]* cubot ; M bot ; B bot ; IDbot ; ID bot ; POWER BOT ; ].strip.split(/\n+/).freeze end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
crawler_detect-0.1.6 | lib/crawler_detect/library/exclusions.rb |
crawler_detect-0.1.5 | lib/crawler_detect/library/exclusions.rb |