I'd be remiss if I didn't mention that it's possible
to do this without fetching/parsing any data from
www.imdb.com. For years the IMDB folks have provided
all of their movie data free of charge. You can download
the datafiles from
ftp.imdb.org
(They're updated about once a week). They also provide
software for doing commandline searches (plus a GUI for
windows users, but i've never tried it)
If you do more then a couple of searches a day, it's worth
having.