Wednesday, October 06, 2010

Speed Download and GameTrailers

If you ever wanted to download the QuickTime HD movies on GameTrailers, and if you have Speed Download, you're in luck. Just copy the following file, name it "gt.sh" or something, give it execute permissions (chmod 755 or whatever), then just run it in the shell with each raw GameTrailer URL HD link as the arguments.

If you don't have Speed Download, you can still use curl to download the files, albeit at a much slower speed; just change the last command to pipe back into /usr/bin/curl instead of sdcli.

Enjoy.

#!/bin/bash
#
# A simple script that downloads HD QuickTime movies from GameTrailers.com using Speed Download
# by Mr E
#
for i in $@
do
/usr/bin/curl -sS $i | /usr/bin/grep -i \.mov\" | /usr/bin/cut -f2 -d\" | /usr/bin/xargs /usr/local/bin/sdcli add
done
view raw gt.sh hosted with ❤ by GitHub

No comments: