lib/woothee/crawler.rb in woothee-1.1.1 vs lib/woothee/crawler.rb in woothee-1.2.0

- old
+ new

@@ -95,9 +95,13 @@ end if ua.index('facebookexternalhit') update_map(result, Woothee::DataSet.get('facebook')) return true end + if ua.index('Twitterbot/') + update_map(result, Woothee::DataSet.get('twitter')) + return true + end if ua.index('ichiro') if ua.index('http://help.goo.ne.jp/door/crawler.html') or ua.index('compatible; ichiro/mobile goo;') update_map(result, Woothee::DataSet.get('goo')) return true end