lib/woothee/crawler.rb in woothee-1.4.0 vs lib/woothee/crawler.rb in woothee-1.5.0

- old
+ new

@@ -75,9 +75,13 @@ if ua.index('compatible; bingbot') update_map(result, Woothee::DataSet.get('bingbot')) return true end end + if ua.index('BingPreview') + update_map(result, Woothee::DataSet.get('BingPreview')) + return true + end if ua.index('Baidu') if ua.index('compatible; Baiduspider') or ua.index('Baiduspider+') or ua.index('Baiduspider-image+') update_map(result, Woothee::DataSet.get('Baiduspider')) return true end