kodak-rip

git clone http://www.bamsoftware.com/git/kodak-rip.git

I got a link to a Kodak Gallery photo gallery, one that looks like this:

http://www.kodakgallery.com/gallery/sharing/shareRedirectSwitchBoard.jsp?token=dddddddddddd%3Adddddddddd
But it led to some awful Flash thing. A little reverse engineering led to this program. It worked as of August 29, 2011.

The program works as follows: Given a token of the form dddddddddddd:dddddddddddd (or a URL from which the token can be extracted), download the XML file

http://www.kodakgallery.com/site/rest/v1.0/album/anon?asaf=dddddddddddd:dddddddddd
This file contains metadata and URLs for the full-size image files. The URLs look like
http://www.kodakgallery.com/site/rest/v1.0/picture/iiiiiiiiiiii/jpeg/FS
The only catch is that when downloading the full-size files, you have to set a cookie that looks like this:
Cookie: DYN_EMAIL=anon_memdddd@kodakgallery.com


Back