Giter VIP home page Giter VIP logo

craigscraper's Introduction

== About

Craigscraper can be used to scrape listings from craigslist. Craigscraper
uses PStore to manage duplicates, based on a simple hash table to eliminate
similar postings.

== Usage

Download a copy of it:
    $ git clone git://github.com/siddarth/craigscraper.git

Navigate to the correct directory.
    $ cd craigscraper/

Install bundler:
    $ gem install bundler

Install the dependencies:
    $ bundle install

Run the Craigscraper executable.
    $ bin/craigscraper

The output is stored in listings.txt, and should also be printed to standard
out.

== Sample output

$895 Private Entrance- Huge room- Move in now- get rest of month FREE (http://newyork.craigslist.org/brk/roo/2687043586.html): Pleasant Place at Herkimer New York NY US
$1375 Two Bedroom Two Bath w/ Rooftop (http://newyork.craigslist.org/mnh/roo/2682510880.html): 76th Street at Central Park West NY NY US
$600 Avail Dec 1st - Large Furnished Room (http://newyork.craigslist.org/mnh/roo/2675388475.html): 178 New York NY US
$1350 FULLY FURNISHED BR AVAILABLE DEC 1st (http://newyork.craigslist.org/mnh/roo/2687035909.html): Mulberry st NEW YORK NY US
$1000 PER PERSON ROOM SHARE (3)BDRM 'OPEN HOUSE MIXERTONIGHT 5PM (http://newyork.craigslist.org/brk/roo/2687034184.html): FRANKLIN at STERLING BROOKLYN NY US
$1700 2 bdrms in Huge, charming apartment in Brooklyn (http://newyork.craigslist.org/brk/roo/2687028351.html): Woodruff Ave at St. Paul Brooklyn NY US
ROOM FOR RENT (http://newyork.craigslist.org/brx/roo/2687018506.html): 199 ST BRONX NY US

craigscraper's People

Contributors

siddarth avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

lobo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.