05 March, 2009

HD Trailers downloaded by wget

I found nice page http://www.hd-trailers.net/ accessing HD trailers from Yahoo or Apple through downloadable mov files. It's quite useful to have mov files instead of using flash player especially if you have slower Internet connection.

Here is short wget command which download mov files from Apple site into directories:

#!/bin/bash

#480, 720, 1080
RESOLUTION=480

wget --recursive --level=2  --accept *${RESOLUTION}p.mov \
--span-hosts --domains=movies.apple.com,www.hd-trailers.net \
--no-host-directories --cut-dirs=2 --exclude-directories=/blog \
http://www.hd-trailers.net/

Enjoy ;-)

No comments :

Post a Comment