Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Updated solution' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Updated solution
Authored by: sr105 on Aug 21, '09 07:28:27AM
Using tips found above, I found this workflow. I will post a complete solution here that works (today).

Open the page with the link that opens the trailer in Quicktime:
http://www.apple.com/trailers/fox/avatar/hd/

Open a terminal window and run the following command. Do not do any other web browsing or you'll have a hard time parsing the output. This next line is all on one line. You may have to change the "en0" to "en1" if you're wireless.

sudo tcpdump -s 0 -A -i en0 port 80 | egrep '^(.*GET.*HTTP|Host:|Cookie:|User-Agent:)'

Now, go click on the video link. In my example, it's the 720p button. You should see something like this. Note: I've trimmed the cookie line.

.T.GET /movies/fox/avatar/avatar2009aug0820a-tsr_720p.mov HTTP/1.1
Host: movies.apple.com
Cookie: ac_survey=1; dssid2=b79000f5-aa77......%3B;
User-Agent: QuickTime/7.6.2 (qtver=7.6.2;cpu=IA32;os=Mac 10.5.7)
....80...P..t.. ..P.......GET /movies/fox/avatar/avatar2009aug0820a-tsr_h720p.mov HTTP/1.1
Host: movies.apple.com
Cookie: ac_survey=1; dssid2=b79000f5-aa77......%3B;
User-Agent: QuickTime/7.6.2 (qtver=7.6.2;cpu=IA32;os=Mac 10.5.7)
.b/GET /movies/fox/avatar/avatar2009aug0820a-tsr_h720p.mov HTTP/1.1
Host: movies.apple.com
Cookie: ac_survey=1; dssid2=b79000f5-aa77......%3B;
User-Agent: QuickTime/7.6.2 (qtver=7.6.2;cpu=IA32;os=Mac 10.5.7)

Now, use wget to download the movie. From a terminal window, we'll use it like this.

wget -b 'cookie string' -A 'agent string' URL

To build the URL use the hostname from the "Host:" line and the path from the "GET" line.

In our example, the URL is:

wget -b 'ac_survey=1; dssid2=b79000f5-aa77......%3B;' -A "QuickTime/7.6.2 (qtver=7.6.2;cpu=IA32;os=Mac 10.5.7)" http://movies.apple.com/movies/fox/avatar/avatar2009aug0820a-tsr_h1080p.mov

You may not need the user agent string, but the cookie string was necessary.

[ Reply to This | # ]