tblancher / pymazon

Automatically exported from code.google.com/p/pymazon
Other
0 stars 0 forks source link

pymazon is broken because .amz format changed #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After a few months of not downloading anything from Amazon I tried getting some 
music yesterday and found that "clamz" didn't work anymore... it complained 
about bad base64 encoding on the .amz file.  So googled and although I didn't 
find anything about the breakage I found pymazon and tried that... only to find 
that
it was broken as well, died with an exception in the decryption code.

So I looked at a *.amz file and found that it wasn't encrypted, nor base64 
encoded.  Looks like someone at Amazon figured out that there wasn't any reason 
to encrypt these puppies in the first place and stopped doing so.  Simply 
bypassing the decrypter fixes the problem (patch attached).  The correct fix is 
probably detecting if the *.amz file is encrypted or not and acting 
accordingly, although frankly I doubt they'll ever be encrypted again.

-- jurgen AT botz.org

Original issue reported on code.google.com by juergenb...@gmail.com on 15 Oct 2011 at 9:42

Attachments:

GoogleCodeExporter commented 8 years ago
I also get the bug, and the patch above fixes it.

Original comment by rickr...@gmail.com on 15 Oct 2011 at 2:30

GoogleCodeExporter commented 8 years ago
Thanks. Trunk is update and a new release archives are available for download. 

Original comment by SCColbert@gmail.com on 15 Oct 2011 at 6:32