スクレイピングライブラリであるNokogiri。
http://route477.net/rubyscraping/?Nokogiri
リファレンス:http://nokogiri.org/
mini:~ foo$ gem install nokogiri Fetching: nokogiri-1.5.5.gem (100%) Building native extensions. This could take a while... Successfully installed nokogiri-1.5.5 1 gem installed Installing ri documentation for nokogiri-1.5.5... unable to convert U+2019 from UTF-8 to US-ASCII for lib/nokogiri.rb, skipping unable to convert "\xE3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.ja.rdoc, skipping unable to convert "\xE8" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.ja.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.rdoc, skipping unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/nokogiri/xml_node_set.c, skipping Installing RDoc documentation for nokogiri-1.5.5... unable to convert U+2019 from UTF-8 to US-ASCII for lib/nokogiri.rb, skipping unable to convert "\xE3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.ja.rdoc, skipping unable to convert "\xE8" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.ja.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.rdoc, skipping unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/nokogiri/xml_node_set.c, skipping mini:~ foo$ gem list *** LOCAL GEMS *** bigdecimal (1.1.0) faraday (0.8.1) io-console (0.3) json (1.5.4) minitest (2.5.1) multi_json (1.3.6) multipart-post (1.1.5) nokogiri (1.5.5) rake (0.9.2.2) rdoc (3.9.4) simple_oauth (0.1.9) sqlite3 (1.3.6) twitter (3.4.0)