Created
January 6, 2018 18:17
-
-
Save Nephos/597f0c815067076e5e75717e7a8aa73b 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
require "curb" | |
res = Curl.get "https://en.wikipedia.org/wiki/Intel" | |
require "nokogiri" | |
dom = Nokogiri::HTML.parse res.body | |
full_resume = dom.search(".infobox + p").text | |
resume = full_resume.split(".").first |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment