Skip to content

Instantly share code, notes, and snippets.

@flazz
Created May 14, 2009 14:32
Show Gist options
  • Save flazz/111681 to your computer and use it in GitHub Desktop.
Save flazz/111681 to your computer and use it in GitHub Desktop.
require 'nokogiri'
require 'open-uri'
doc = Nokogiri::HTML(open('http://www.cise.ufl.edu/class/cop5555su09/class.notes.html'))
puts doc
puts '--'
doc.css('a').each do |l|
puts l.content
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment