lib/woothee/crawler.rb in woothee-1.5.0 vs lib/woothee/crawler.rb in woothee-1.7.0
- old
+ new
@@ -86,11 +86,11 @@
update_map(result, Woothee::DataSet.get('Baiduspider'))
return true
end
end
if ua.index('Yeti')
- if ua.index('http://help.naver.com/robots')
+ if ua.index('http://help.naver.com/robots') || ua.index('http://help.naver.com/support/robots.html') || ua.index('http://naver.me/bot')
update_map(result, Woothee::DataSet.get('Yeti'))
return true
end
end
if ua.index('FeedBurner/')
@@ -156,9 +156,13 @@
if ua.index('Indy Library')
if ua.index('compatible; Indy Library')
update_map(result, Woothee::DataSet.get('IndyLibrary'))
return true
end
+ end
+ if ua.index('trendictionbot')
+ update_map(result, Woothee::DataSet.get('trendictionbot'))
+ return true
end
false
end