Skip to content

Instantly share code, notes, and snippets.

@adriand
Created November 11, 2009 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adriand/232348 to your computer and use it in GitHub Desktop.
Save adriand/232348 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
require 'rubygems'
require 'open-uri'
require 'hpricot'
require 'ruby-debug'
require 'cgi'
f = open("http://forum.cakewalk.com/tm.aspx?m=1859288#1859354")
doc = Hpricot(f)
=begin
Output:
/usr/local/lib/ruby/gems/1.8/gems/hpricot-0.8.2/lib/hpricot/parse.rb:33: [BUG] Bus Error
ruby 1.8.7 (2009-04-08 patchlevel 160) [i686-darwin8.11.1]
Abort trap
=end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment