Here's a snippet to download the poster from imdb (large)
search="echo $@ |sed 's/ /+/g'
" ; ttlink="curl -s "http://www.imdb.com/find?s=all&q=$search" |grep -oiEm1 "\/title\/tt[0-9]+\/" |grep -m1 tt
" ; imagelink="http://www.imdb.com`curl -s "http://www.imdb.com$ttlink" |grep -oE -m1 \/media\/[a-zA-Z0-9]+\/tt[0-9]+" ; image=
curl -s "$imagelink" |grep -E "<img id=\"primary-img\"" |grep -oE "http\:\/\/[a-zA-Z]+.media-imdb.com\/images\/[a-zA-Z0-9]+\/[_.a-zA-Z0-9@,]+.jpg"; md5=
echo "$ttlink" |cut -d '/' -f3 |md5sum |cut -d ' ' -f1` ; if [ -f "cache/$md5.jpg" ]; then echo "$md5.jpg - löytyy" ; else wget -qO "cache/$md5.jpg" "$image" ; echo "$md5.jpg - tallennettu" ;fi