Hi,
I have a piece of code which,with a little change, is capable of satisfying your requirement. The code searches for keywords extracted from a database. The search is done on google, msn and yahoo. It is written in C++, but if you want I can convert it to perl or python. It wont require much time. Please feel free to contact me if you find that suits your requirement.
Thanks
Supmit