Skip to content

Instantly share code, notes, and snippets.

@marioBonales
Forked from EnriqueVidal/rosa
Created May 21, 2013 22:55
Show Gist options
  • Save marioBonales/5623933 to your computer and use it in GitHub Desktop.
Save marioBonales/5623933 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'nokogiri'
require 'open-uri'
doc = Nokogiri::HTML(open('http://www.nsovocal.com/rosa/'))
puts doc.css('#episodio').to_s.gsub(/<\/?[^>]*>/, '').strip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment