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

10.4: Another method of saving iTunes music videos Apps
Tiger only hintWith the release of Tiger, I realized that the previously submitted hints for downloading the music videos from the tmp folder did not work. The files are now saved as .qtch files that do not play in anything.

Using tcpflow, which you will need (entropy.ch has a great Mac OS X binary available), I was able to capture the request for the video off of Apple's servers with the following command.
sudo /usr/local/bin/tcpflow -c -i en1 port 80 | grep -oE \
'\<GET *.*\.mov.*HTTP/1.1 *\>|Host: *.*'
The en1 refers to the Airport I am using for internet access. If you are using ethernet, it should be en0.

Install tcpflow and run the above command before you try to watch the video. Click the link to start watching the video in iTunes, and the GET request will pop up in the Terminal. A bit of excess info will pop up as well, but you are looking for two things: something like /Features/xxx/xxx/dj.sdsd.mov and something like axxx.phobos.apple.com. To download the video, paste the ...sdsd.mov URL into the Download window of Safari, and the download will begin! Thanks to 'victory' for helping me shorten the above command.

[robg adds: In 10.4, I'm still able to use the script in this hint to extract the URL for pasting into the Downloads window, so I'm running this as an alternative solution in case that doesn't work for others...]
    •    
  • Currently 2.75 / 5
  You rated: 3 / 5 (4 votes cast)
 
[15,998 views]  

10.4: Another method of saving iTunes music videos | 7 comments | Create New Account
Click here to return to the '10.4: Another method of saving iTunes music videos' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Another method of saving iTunes music videos
Authored by: mdgr on May 17, '05 07:51:33PM

works great, but how do i paste the URL into Safari's dowload window? i've done a fair few searches and nothing works... it's probably something so simple i've overlooked it. i'm using safari 2.0 if that helps...?

thank you for any assistance. :-)



[ Reply to This | # ]
10.4: Another method of saving iTunes music videos
Authored by: deftly on May 17, '05 08:10:14PM

i use `wget` ( which can be installed via darwinports )



[ Reply to This | # ]
10.4: Another method of saving iTunes music videos
Authored by: mdgr on May 17, '05 08:11:16PM

never mind. got it. :-)



[ Reply to This | # ]
10.4: Another method of saving iTunes music videos
Authored by: MysteryQuest on Jul 18, '05 09:26:16AM
This didn't work at first in 10.3 but it should work and it was giving the following error:
grep: invalid option -- o
When you change
grep -oE
into
grep -E
it also works in 10.3. You only need to delete the o, that's all. The full code is now the following:
sudo /usr/local/bin/tcpflow -c -i en1 port 80 | grep -E \
'\<GET *.*\.mov.*HTTP/1.1 *\>|Host: *.*'


[ Reply to This | # ]
10.4: Another method of saving iTunes music videos
Authored by: efc on Aug 14, '05 11:05:37AM

I found that this tcpflow method would work with Mac OS X 10.4.2 Tiger and iTunes 4.9. The earlier AppleScript and Perl scripts do not work any longer.

For those uncertain how to use the output of tcpflow described above, here is an example. You will find something like this in the output...

GET /Features/y2005/m08/d05/h12/dj.bpuzoeiu.mov HTTP/1.1
Host: a1424.phobos.apple.com

...reassemble this into something you can feed to the command line tool "curl"...

curl http://a1424.phobos.apple.com/Features/y2005/m08/d05/h12/dj.bpuzoeiu.mov > your_name.mov

...you will then have a movie named "your_name.mov" ready to play with QuickTime.



[ Reply to This | # ]
10.4: Another method of saving iTunes music videos
Authored by: ssevennm on Aug 24, '05 07:38:54PM

Or try this.



[ Reply to This | # ]
10.4: Another method of saving iTunes music videos
Authored by: moonsand on Aug 26, '05 02:23:40AM
Here's the php script submitted by ssevennm that is set up and running on my site for free to generate the correct link to download itunes music videos:

http://moonsand.com/itunes

When in itunes, right-click on the "Large" or "Small" links to get the URL and then go to the site and it will generate a link for you so you can download it. enjoy.

[ Reply to This | # ]