lib/ryo/plugin/subdomain/dnsdumpster.rb in ryo-0.3.1 vs lib/ryo/plugin/subdomain/dnsdumpster.rb in ryo-0.3.2

- old
+ new

@@ -18,14 +18,15 @@ end def parse tables = doc.css("table.table") return [] if tables.empty? + table = tables.last table.css("tr").map do |row| cols = row.css("td") domain = cols.first.text.lines.first.chomp - ip = cols[1].text.lines.first.chomp + ip = cols[1].inner_text.chomp { domain: domain, ip: ip } end end end end