a craigslist vehicle search cli app
Project description
Vehicular
I like to ride motorcycles (Dualsports, to be specific) and it's well known that the best place to look for a good deal on used bikes is craigslist. In order to jump on a deal, you've got to constantly troll craigslist for new posts.
However, I like to automate things when I can, so I wrote this little CLI app to search for me. It uses feedparser to sort through craigslist rss feeds and sends you an email notification when it finds new matches.
Usage
Vehicular runs in a custom shell that manages all the various search parameters.
There are a lot of possible search parameters, inside the shell run help
to view
all the commands. and help <command>
to view help info for <command>
. Tab
autocomplete works for commands that have specific options. Using it is encouraged as
incorrectly typed parameters will fail as invalid.
Of all the parameters, only a few are required: city
, seller_type
,
vehicle_type
and make_model
.
-
city
- Run
city help
to view all available cities in which to search.
Tab autocomplete is your friend with this one.
- Run
-
seller_type
- Defaults to search for results from both dealers and owners
- Run
seller_type dealer
orseller_type owner
to change it to your desired option
-
vehicle_type
- Craigslist splits vehicle listings up into motorcycles and cars/trucks
- run
vehicle_type motorcyle
orvehicle_type cars/trucks
to select which search you want to run.
-
make_model
- Selects the make / model you're looking for. Pretty obvious once you think about it.
All the other parameters are optional.
After having selected the parameters, run add_search
, which compiles the selected options into
an RSS URL, which is stored in the database. After having added the search, running
run_search
will parse the searches and send an email notification if matches are found.
Installation
Install via pip install vehicular
License
GPLv3, see LICENSE.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vehicular-0.1.0.tar.gz
.
File metadata
- Download URL: vehicular-0.1.0.tar.gz
- Upload date:
- Size: 26.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4483855c2209434c5a5b588a2a274e4ee324bcdf8a38b1206c4f66c6b6eed17 |
|
MD5 | 1e4136b376aabcec89d20efad07ea502 |
|
BLAKE2b-256 | de425d1232e91439be78fe9d7846d5dbb15e2be97a5d8379c170015d1ecb2fec |
File details
Details for the file vehicular-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: vehicular-0.1.0-py3-none-any.whl
- Upload date:
- Size: 58.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a1ee71226e9759bebd98d621d68c080e2da1ba0843851b3e33e38df1412a02 |
|
MD5 | 2b671e06062534416bbd79fbfb9df679 |
|
BLAKE2b-256 | f9d4078ac71d791078202fd3af06e349d806ce7267c8a7552d8a9d95e89de81f |