Uses Twilo or Gmail to notify you when new craigslist listings are posted.
Appending &format=rss
to any craigslist search will give you an RSS version of that search.
Example:
http://seattle.craigslist.org/search/?sort=rel&areaID=2&subAreaID=&query=table&catAbb=sss
http://seattle.craigslist.org/search/?sort=rel&areaID=2&subAreaID=&query=table&catAbb=sss&format=rss
This could be used for any RSS feed but craigslist is my current focus.
##Requires
Twillio Python API
FeedParser
##Usage
Download main.py
and put in any directory that python has write access to.
python main.py 'RSS-FEED-LINK' 'Alias for rss feed'
The application will prompt you for which notification method you'd like, Gmail or Twillio.
- If you specify Twillio, you'll be prompted for your Twillio ACCOUNT_SID, AUTH_TOKEN, and phone number and then asked for the receiving phone number.
- If you specify Gmail, you'll be asked for your Gmail username and password. That password may need to be an application-specific password depending on your privacy settings.
Currently I am using crontabs
to run the python script every 30 minutes. Getting started with crontabs
*/10 * * * * python /home/adamryman/craigslistNotifier/main.py
##ToDo
- Improve setup experience
- Include crontab script or use alternate way of updating
- Add generic email support because twillio cost money (Email servers are a lot harder to setup than I thought)
##License
MIT