A blog about coding, Infosec, penetration testing, and random topics
require 'open-uri' require 'nokogiri' Nokogiri::HTML(open('http://www.fakenamegenerator.com/')).xpath("//div[@class='address']/h3").collect {|node| puts node.text.strip}