Created
March 3, 2010 19:30
-
-
Save abernier/320917 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
Nokogiri::HTML(open('http://www.google.com/search?q=tenderlove')).xpath('//h3/a[@class="l"]').each do |link| | |
puts link.content | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment