I was looking for a way to have an automated search for some items I’m looking for on Craigslist, but nothing exists in Craigslist to email you daily/weekly for items matching a particular string. I found a few websites that offered this functionality via an application, but I’m not down for that. Instead I wrote this simple korn shell script. Enjoy!
#!/bin/sh
echo "--> Setup...";
directory=/my/dir/for/results/;
filename="craigslist_dell_monitor.html";
path="${directory}${filename}";
website="http://mycity.craigslist.org/search/sss?query=dell+2005fpw&minAsk=min&maxAsk=max"
echo "--> Searching for Dell Monitor...";
wget -O ${path} ${website}
ls -la ${directory}
echo "--> Checking for results...";
cat ${path} | grep "Found:"
if [ $? == 0 ]
then
echo "--> Sending results email...";
echo ${website} | mail -s "craigslist search - Dell Monitor" myemail@gmail.com
else
echo "--> No results.";
fi
exit;
Any guesses on what I was searching for?

I find this script quite pleasing. I have used it to alert me to the availability of The Veronicas limited edition Japenese pressing of the Hook Me Up CD. Well coded, Mr. Collins.
Very nice little script!
Hi Jesse.Great script.
This is how I got started with tinkomatic.com.
I was initially looking for a classic convertible VW beetle; built a similar script; and gradually evolved it into an online tool…
Happy to provide more details if you need any.
Cheers
-David
I don’t know if you are looking for something specific in regards to automated Craigslist searches, but I thought I would pass this along.
I found a website, which are many, that will do searches for you but this one stood out because it keeps emailing you when new results are available and it does it three times a day. So if it finds new results for you, it will email you. It also has the capability to send SMS and best of all its FREE. I don’t know how popular the site is but it definately helped me find what I was looking for.
The site is http://www.yominder.com, which I thought it was a strange name but it worked very nicely. Give it a try. Maybe it will help you like it helped me.
Great post thx!
You could just use AdRAVAGE.com. You set up up your notifications AND set how often you want to be notified. Its really very convenient.
I wrote a similar program. I was looking for a jet ski motor and I missed the opportunity to purchase a racing motor from a guy who was going out of business. So I wrote an entire application that would search sites like Craigslist, cartrader and a bunch of other sites. Check it out I still use it till this day.
Go to http://www.yominder.com
Nice to see that I wasn’t the only one looking for such a feature.