Instant Nokogiri

Learning data scraping and parsing in Ruby using the Nokogiri gem
Preview in Mapt

Instant Nokogiri

Hunter Powers

Learning data scraping and parsing in Ruby using the Nokogiri gem
Mapt Subscription
FREE
$29.99/m after trial
eBook
$9.10
RRP $12.99
Save 29%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$9.10
$29.99p/m after trial
RRP $12.99
Subscription
eBook
Start 30 Day Trial

Frequently bought together


Instant Nokogiri Book Cover
Instant Nokogiri
$ 12.99
$ 9.10
Instant Getting Started with VMware Fusion Book Cover
Instant Getting Started with VMware Fusion
$ 19.99
$ 14.00
Buy 2 for $23.10
Save $9.88
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783289974
Paperback52 pages

Book Description

A wealth of information sits waiting on the Internet. Instant Nokogiri helps you access this information today with Nokogiri, a slick and fast HTML and XML parsing engine. Bundled in an easy-to-use Ruby gem, Nokogiri empowers you to combine disparate data sources and gain an unprecedented insight into your Ruby applications.

"Instant Nokogiri" is a hands-on guide to extracting information from the sources available on the Internet, sources that are not traditionally accessible to developers. You will learn the secrets of identifying content, extracting just the right parts, and incorporating the new data in your Ruby applications.

"Instant Nokogiri" provides step-by-step instructions on how to incorporate the power of the Nokogiri gem and data parsing into your Ruby projects. You will learn all the basics of designing a project around data parsing, exploring disparate data sources, and refining strategies and theories. You will also combine your thoughts in a real-world, real-data sample application. This book will examine common Nokogiri and Ruby methods useful in scraping and parsing complete with practical code samples. You will also learn the secrets behind effective caching, rate limiting, and masking your identity. Instant Nokogiri will teach you how to get targeted data out of HTML and into Ruby, as well as tons of tips, tricks, code snippets, and expert advice.

Table of Contents

Chapter 1: Instant Nokogiri
So, what is Nokogiri?
Installation
Quick start – creating your first Nokogiri application
Top 13 features you need to know about
People and places you should get to know

What You Will Learn

  • Set up a development environment for Nokogiri
  • Know when to use a parsing engine
  • Identify ideal sources from which to extract content and devise optimal strategies for selecting content
  • Use CSS and XPath selectors to target content
  • Test your theories in an interactive Ruby shell
  • Work with live web data
  • Avoid detection and be a good netizen
  • Incorporate your finished snippets in a full Sinatra application

Authors

Table of Contents

Chapter 1: Instant Nokogiri
So, what is Nokogiri?
Installation
Quick start – creating your first Nokogiri application
Top 13 features you need to know about
People and places you should get to know

Book Details

ISBN 139781783289974
Paperback52 pages
Read More

Read More Reviews

Recommended for You

Rake Task Management Essentials Book Cover
Rake Task Management Essentials
$ 13.99
$ 9.80
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Cloning Internet Applications with Ruby Book Cover
Cloning Internet Applications with Ruby
$ 23.99
$ 16.80
Application Testing with Capybara Book Cover
Application Testing with Capybara
$ 19.99
$ 14.00
Data Visualization with D3.js Cookbook Book Cover
Data Visualization with D3.js Cookbook
$ 26.99
$ 18.90
Learning Devise for Rails Book Cover
Learning Devise for Rails
$ 17.99
$ 12.60