Sunday, March 15, 2015

Data Scraping with Nokogiri Ruby

In this article, you will learn the basics of scraping and parsing data from websites with Ruby and Nokogiri. Data scraping is the process of extracting data from output that was originally intended for humans. A web page is an example of output originally intended for humans in contrast to an API intended for use by other programs. Nokogiri is a Ruby Gem that extracts data from web pages using CSS selectors. Additionally, it provides methods to help parse (make sense of) the results. The use of CSS selectors allows you to easily target the data you wish to extract from a URL.

Another Similar Video,

Follow the steps Right click the page and go the page view source or inspect element, you can see the certain html tags where the data are put in very structured way!

No comments:

Post a Comment