lib/woothee/crawler.rb in woothee-0.4.1 vs lib/woothee/crawler.rb in woothee-0.4.2

- old
+ new

@@ -56,9 +56,13 @@ end if ua.index('crawler (http://listing.yahoo.co.jp/support/faq/') || ua.index('crawler (http://help.yahoo.co.jp/help/jp/') update_map(result, Woothee::DataSet.get('YahooJP')) return true end + if ua.index('Y!J-BRZ/YATSHA crawler') || ua.index('Y!J-BRY/YATSH crawler') + update_map(result, Woothee::DataSet.get('YahooJP')) + return true + end if ua.index('Yahoo Pipes') update_map(result, Woothee::DataSet.get('YahooPipes')) return true end end