|
|
Save iTMS Music videos with curl [and a patch to clean()]
My script and miller021's seems broken - for me. Is anyone else having a problem this week? I'm getting an error from the part of the script that pipes curl through gunzip. Gunzip is complaining that the STDIN is not in gzip format. I'm not sure what format is coming back from the "UrlBase" URL - it's some binary format.
Does anyone know how to identify the data coming back from that URL?!? On a different note, I see that my original clean() function got corrupted because of the special/HTML characters. It should look like:
The clean() function
Aaarrgghh!
The characters in clean() keep getting goofed up. In the first replacement, the first ampersand you see should be the HTML representation of an ampersand (which is an ampersand followed by the characters amp;). The second replacement is to replace the HTML representation of a single-quote. So, the first single-quote (inside the double quotes) is actually supposed to be an ampersand followed by #39;. This will replace the goofy HTML representation of ampersands and single-quotes with the "normal" (ASCII) representations. You can add more to clean() if you come across them, but those are the only ones I've seen so far.
Save iTMS Music videos with curl [and a patch to clean()]
Yep... used to work for me, but now I'm getting weird binary garbage when the reference URL is loaded. Argh.
Save iTMS Music videos with curl [and a patch to clean()]
Aha. Apparently it's AES-encrypted now-- using [i]curl -v[/i], I found that the Content-Encoding header includes "x-aes-cbc", and there are "x-apple-twofish-key" and "x-apple-crypto-iv" headers as well.
Doesn't work any more in iTunes 4.9
Hope someone will find a way again.
Doesn't work any more in iTunes 4.9
Actually the solution is really really simple, I just don't like posting it so apple doesn't go and fix it right up a day later. Although i have no desire to keep it to myself.... anyone that's wants the solutions, just let me know and i'll email it to you |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|