Created
January 6, 2018 18:17
-
-
Save Nephos/292c0359efd4c4f21cc5679726065c30 to your computer and use it in GitHub Desktop.
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 "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