lib/mihari/analyzers/shodan.rb in mihari-5.3.1 vs lib/mihari/analyzers/shodan.rb in mihari-5.3.2
- old
+ new
@@ -58,10 +58,10 @@
res = search_with_page(page: page)
responses << res
break if res.total <= page * PAGE_SIZE
# sleep #{interval} seconds to avoid the rate limitation (if it is set)
- sleep interval
+ sleep_interval
rescue JSON::ParserError
# ignore JSON::ParserError
# ref. https://github.com/ninoseki/mihari/issues/197
next
end