Last active
August 29, 2015 14:26
-
-
Save cacheflow/60d5fc1d77df00e4bd90 to your computer and use it in GitHub Desktop.
Scraping sites
This file contains hidden or 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
require "nokogiri" | |
require "open-uri" | |
page = Nokogiri::HTML(open("http://www.cnn.com")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment