tags | language |
---|---|
craigslist, aftermarket, online commerce, nokogiri, web scraping |
ruby |
This gem is meant to provide a Command-Line Interface for running simple market research queries on Craigslist.
The gem allows you to specify an area of NYC, a search query, and set parameters for minimum and maximum price (for the search). The program will run a search on Craigslist, collect the pricing data, and perform some basic analyses to return the mean, median, and mode prices for your product in your area.
NOTE: This gem is for small-scale personal research purposes only. This gem is not intended for any commercial applications.
For better search results, set your price boundaries reasonably close to where you expect the average value to fall. Setting the search window too wide will cause the scraper to gather misleading data. If you're finding an unusual discrepancy between your mean, median, and mode values, consider re-calibrating your search.
$: gem install aftermarket_research
$: aftermarket_research