Skip to content

Instantly share code, notes, and snippets.

@Sixeight
Created April 5, 2012 09:30
Show Gist options
  • Save Sixeight/2309491 to your computer and use it in GitHub Desktop.
Save Sixeight/2309491 to your computer and use it in GitHub Desktop.
# coding: utf-8
require 'open-uri'
require 'nokogiri'
URL = 'http://www.google.com/doubleclick/studio/swiffy/releasenotes.html'
doc = Nokogiri::HTML(open(URL))
puts releases = doc.css('div.releaseNotesItem').map {|div| div.css('p').text }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment