Apple’s new iTunes 4 with “Music Sharing” won’t let you save the stream to disk. Right? I mean, it can’t be easy, can it? Yes it can. Stream a playlist, use a network scanning tool like tcpdump to determine the URL, and then grab that URL manually.
Look for something like this:
010.000.001.104:49825->010.000.001.132:03689 (224 bytes) TH_PUSH TH_ACK GET /databases/32/items/1104.mp3?session-id=20570 HTTP/1.1
Then, use this:
curl http://10.0.1.132:03689/databases/32/items/1104.mp3?session- id=20570 > file.mp3
Of course, this will only work with MP3 files, or presumably M4A files. The M4P files that you get from the new Apple Music Store will still want to be “authorized” to play. Still, it’s almost too easy.Powered by Sidelines