SurfRaw is a nifty little tool which enables you access lots of web sites from the Unix command line. The supported sites include Google, Bing, Amazon, Bookfinder, eBay, XE, LastFM, YouTube, and lots more.

This looks like it could make a lot of scripting tasks much easier.