Chapter 7. SERVERS AND SCRAPERS

SERVERS AND SCRAPERS

A powerful aspect of Ruby is that you can use it to develop ways to automate interactions with resources on the Web. This chapter gives a brief overview of how to play with web pages and concludes with a set of client/server scripts that can securely pass and execute commands. Interacting with and extracting data from the Web is important because there is a wealth of information available—this is known as data mining. Instead of mining for gold, we will look at different ways to mine for significant data and turn it into meaningful information.

Define

Define

define.rb

This script will query the Web to retrieve the first ...

Get Wicked Cool Ruby Scripts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.