Created
November 11, 2009 21:56
-
-
Save adriand/232348 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
#!/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