craigslist-scout
A dead simple command line tool to query multiple Craigslist cities (subdomains) and email out the results.
Installation
$ npm install craigslist-scout -g
Usage
Usage: cl-scout [options]
Options:
-c, --cities [type] Comma delimited list of cities (corresponds to craigslist subdomains)
-q, --query [type] Search query: https://losangeles.craigslist.org/search/<<search query>>
-i, --interval [type] Query every "n" minutes
-s, --sender [type] Sender credentials in the form of sender@gmail.com:my_password; set to false to disable email
-r, --recipients [items] Comma delimited list of recipients
-d, --database [type] LowDB database to store results in
-e, --seed Seed your DB before scouting.
Example Query
To search Craigslist in LA, SLO, San Diego, Fresno, Bako, OC, Inland Empire, and Santa Barbara ever 0.5 minutes for Tacomas and send new results to foo@bar.com
and bar@baz.com
from foo@baz.com
:
cl-scout --interval 0.5 \
--cities slo,losangeles,sandiego,fresno,bakersfield,orangecounty,inlandempire,santabarbara \
--query "cto?maxAsk=10000&query=tacoma&sort=date" \
--recipients "foo@bar.com,bar@baz.com" \
--sender 'foo@baz.com:foobar'
Author