Giter VIP home page Giter VIP logo

craigslist-hawk's Introduction

Credit is due to evanhenri for this script.

Craigslist-Hawk

About

Python bot to search Craigslist for posts that match the criteria specified and send out email notifications on a predefined schedule.

data_config.json
  • categories: enter any number of category id's to include in search. Found in the url when viewing that category in your browser. Ex: sporting='sga', boats='boo'
  • keywords: enter keywords to look for when searching posts
  • locations: areas of the country to include in your search
  • logging_enabled: true/false, outputs a log file after each search if true
  • minimum_keyword_match: minimum number of keywords that must be matched before being included in an email notification
  • notification_intervals: enter time of day (in 24 hr format) that notifications should be sent out
  • require_image: true/false, excludes posts that do not include an image if true
email_config.json
  • sender: gmail address of your craigslist bot
  • server_pwd: gmail account password for sender
  • recipients: list of all email addresses to include when sending notifications

Usage

$ python3 cl.py

Notes

  • If minimum_keyword_match is greater than the number of keywords entered, posts containing all keywords are considered a match
  • Bot will search Craigslist every hour but only sends out notifications if the current time is after the next notification interval
  • Any posts detected before the next interval are stored and included in that next intervals notification

craigslist-hawk's People

Contributors

opensourcemasta avatar evanhenri avatar

Watchers

James Cloos avatar  avatar

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.