Skip to content

A simple ruby file to scrape CraigList website with varying parameters, using the nokogiri gem.

Notifications You must be signed in to change notification settings

KristaCalleja/My-First-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Background & Objectives

I needed to re-visit the concept of 'scraping' and parsing, so here I am re-doing some Ruby exercises.

To run the program:

First, open your terminal and install the Nokogiri gem, like so:

gem install nokogiri

Then run the Ruby code by navigating inside the lib/ folger and running:

ruby scraper.rb

To change the city where the results will be scraped from change the parameters passed inside the scrape_craiglist_antiques method.

Have fun!

About

A simple ruby file to scrape CraigList website with varying parameters, using the nokogiri gem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages