Coder Social home page Coder Social logo

shackscout's Introduction

shackscout

Service for identifying new craigslist listings that are desirable and notifying when they become listed.

Grabs the latest housing urls from craigslist rss feed, scrapes data for each new listing, and saves it to a local database. When discovering a new listing that fits the user parameters it notifies the user.

Setup:

pip install -r requirements.txt

Before running script start Mongdb:

sudo service mongod start

Usage:

For help run python3 shackscout.py -h

Input search info as command arguments in the format shown below

Arguments in [] are optional, arguments outside of brackets are mandatory

python3 shackscout.py [positional args] [optional args]

Positional args:

distance geo geo pricemin pricemax

Optional args

[-h] [--bedrooms] [--spacemin] [--spacemax] [--cats] [--dogs] [--wd]

Example:

python3 shackscout.py 5 37.557516 -122.287266 2000 3000 --bedrooms 1 --cats

shackscout's People

Contributors

apophis981 avatar

Stargazers

 avatar Akira Baruah avatar

Watchers

James Cloos avatar  avatar

shackscout's Issues

Add ability to search more than one zip code

Need to research the best way to search for listings in the areas that are important to the user
zillow allows you to make a rectangle
example: 37.582439,-122.225905,37.526643,-122.31371_rect
perhaps we can search for a square which is a certain distance away from their work and draw a square

Craigslist can search by miles from zip which is ideal:
https://sfbay.craigslist.org/search/apa?search_distance=5&postal=94404&availabilityMode=0&sale_date=all+dates

Allow user to specify the type of residence they're interested in

Zillow allows any combination of
Houses
Apartments
Townhomes
Condos/co-ops
Manufactured
Lots/Land

The url builder will have to construct a comma separated list of types based on user input
example:
/house,condo,apartment_duplex,mobile,land_type/
If everything is checked, the field is removed from the url

Create a better database

The database needs the following functionality:

  1. Store the following data:
    'address':address,
    'city':city,
    'state':state,
    'postal_code':postal_code,
    'price':price,
    'facts and features':info,
    'real estate provider':broker,
    'url':property_url,
    'title':title
    rank?
  2. The database needs to be mutable so that after evaluating each result we can rank them.
  3. It should be able to check if newly scraped results exist in the database already and if not add them

Add GPS coordinate house info to zillow scraper

Currently the zillow scraper grabs the following information about homes:
address,
city,
state,
postal_code,
price,
info,
broker,
property_url,
title

The gps coordinates of the house should also be available somewhere.

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.