Skip to content

Instantly share code, notes, and snippets.

View pawan1498's full-sized avatar
🎯
Focusing

Pawan Sharma pawan1498

🎯
Focusing
View GitHub Profile
require 'nokogiri'
require 'open-uri'
# Get a Nokogiri::HTML:Document for the page we're interested in...
doc = Nokogiri::HTML(open('http://www.google.com/search?q=tenderlove'))
# Do funky things with it using Nokogiri::XML::Node methods...
####