imclab / autocraig Goto Github PK
View Code? Open in Web Editor NEWThis project forked from alexksikes/autocraig
Scrapes a specified section of Craigslist and automatically email every author.
License: GNU Affero General Public License v3.0
This project forked from alexksikes/autocraig
Scrapes a specified section of Craigslist and automatically email every author.
License: GNU Affero General Public License v3.0
This program scrapes a specified section of Craigslist and automatically email all the authors of each post with a custom email message. I wrote this program back in the summer of 2007 in order to look for a place in Newport Beach. The idea was to have people email me instead of the other way around and to make sure I would most likely be the first person on the deal. Example: $url: http://orangecounty.craigslist.org/search/hhh?query=superior+newport+beach&minAsk=min&maxAsk=1350 $msg: Hi, I just looked at your post on Craigslist and I'm very interested in the room. Would it be possible to have a look a it ASAP? Thank you so much, Alex Ksikes and run it as: python autocraig.py --report --auto $msg $url This will email all the authors of each post scraped at the specified URL (--auto option). Here I'm looking for a room on superior in Newport Beach with maximum rent of $1350. The result of the scrapping is also sent to me in one email (--report option) for further scrutiny. Email parameters are set in autocraig.conf. Duplicates are kept in autocraig.duplicates to make sure each author is emailed only once. The program can scrape deep to a chosen number of days or pages. Best used as a cron job. Use it with caution to avoid SPAM! (consider removing the --auto option) I set it up on the following URLs as a cron job (and sporadically used the --auto option): http://orangecounty.craigslist.org/search/hhh?query=superior+newport+beach&minAsk=min&maxAsk=1350 http://orangecounty.craigslist.org/search/hhh?query=hoag+newport+beach&minAsk=min&maxAsk=1350 http://orangecounty.craigslist.org/search/hhh?query=ticonderoga&minAsk=min&maxAsk=1350 http://orangecounty.craigslist.org/search/hhh?query=newport+crest&minAsk=min&maxAsk=1350 The irony of the story: I ended up renting the place accross the street!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.