Difference between revisions of "Quicktime"

From Jon's Wiki
Line 1: Line 1:
Apple are a shower of bastards who don't want you to download their trailers. Here's how to do it anyway:
+
Apple are a shower of bastards who don't want you to download their trailers. Here's a shell script to do it anyway:
  
  wget -U "QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)" \
+
  #!/bin/sh
  http://movies.apple.com/movies/independent/capitalismalovestory/capitalismalovestory-tlr1_h1080p.mov
+
 +
APPLEBULLSHIT='QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)'
 +
URL=$1
 +
  TMPFILE="/tmp/yoinktrailer-`date +%Y%m%d-%H%M%S`"
 +
wget -U "$APPLEBULLSHIT" -q -O $TMPFILE $URL
 +
 +
TRAILER=`strings $TMPFILE|grep '.mov$'`
 +
TRAILERURL="`dirname $URL`/$TRAILER"
 +
wget -U "$APPLEBULLSHIT" -O $TRAILER $TRAILERURL \
 +
    && touch $TRAILER && rm $TMPFILE
  
Right-click and copy the link URL of the 1080p images on their HD trailer pages, and add the extra "h" before the 1080p.mov
+
yoink http://movies.apple.com/movies/independent/capitalismalovestory/capitalismalovestory-tlr1_1080p.mov
 +
 
 +
Right-click and copy the link URL from Apple trailers.

Revision as of 10:13, 17 December 2010

Apple are a shower of bastards who don't want you to download their trailers. Here's a shell script to do it anyway:

#!/bin/sh

APPLEBULLSHIT='QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)'
URL=$1
TMPFILE="/tmp/yoinktrailer-`date +%Y%m%d-%H%M%S`"
wget -U "$APPLEBULLSHIT" -q -O $TMPFILE $URL

TRAILER=`strings $TMPFILE|grep '.mov$'`
TRAILERURL="`dirname $URL`/$TRAILER"
wget -U "$APPLEBULLSHIT" -O $TRAILER $TRAILERURL \
    && touch $TRAILER && rm $TMPFILE
yoink http://movies.apple.com/movies/independent/capitalismalovestory/capitalismalovestory-tlr1_1080p.mov

Right-click and copy the link URL from Apple trailers.