SEARCH
Archive for November, 2009
Kodak Gallery Download – Ruby Script Windows Automation Tool
Posted in: News by ComputerRich on November 6, 2009
KodakGallery.com – Download Your Hi-Res Photos
Ruby Install for Windows Users
Tested on Windows XP 32bit Pro and Windows 7 64bit Pro
Credit to Garry, http://axonflux.com/code-39
Credit to turbo dingo for the memory fix
Guide by Rich from ComputerRich
This was all made possible by Garry!
Last Edit: Nov 5, 2009
Intro
Do you have a lot of photos on KodakGallery.com and don’t want to get carpal tunnel syndrome by downloading them one at a time? Do you want to get your hands dirty? Then follow these steps and it will ensure the quickest way to get your photos back! Automated way to get your photos back!
Warning: I take no responsibility for incorrect information, or problems you may encounter. **Do this at your own risk**
What You Need

Download Ruby for Windows:
http://files.rubyforge.vm.bytemark.co.uk/rubyinstaller/ruby186-27_rc2.exe
Download the “kodak_gallery.rb” script.
http://computerrich.com/downloads/ruby/kodak/kodak_gallery.rb
Ensure that all your albums on KodakGallery.com only have Safe Characters in their album name otherwise the script will not work (A-Z a-z 0-9). Simply login into kodakgallery.com and change the album names. “,” commas and “-”, dashes stop the script in its tracks from working.
Installation
1.Double click on ruby186-27_rc2.exe or similar
2. Go through the setup
a. Check Mark “Enable RubyGems”

3. Install to the default folder as listed below:
C:\Ruby

4. Installation will take some time. When it is done click “Next”

Start RubyGems – Part 1
5. Start the “Start RubyGems RDoc Server”
6. Than
7. Start “RubyGems Package Manager”
a. (If you get a window that says unblock or allow the program, click unblock or allow.)
b. 2 Windows will show.

8. Next we are going to install the “mechanize” plugin”
9. Go to the “RubyGems Package Manager” window
10. As shown in the window below on the “RubyGems Package Manager”
11. Type: “gem install mechanize” without the “” quotes

12. Mechanize will take some time to install, as plug-ins and other dependencies are being installed.
After the installation is completed, you should see a “C:\Ruby>_” line again. Or as seen below.

Start RubyGems – Part 2
13. We are now going to navigate to “C:\Ruby”
14. Create a new folder “kodak” with lowercase letters
15. Copy the script “kodak_gallery.rb” into the “kodak” folder

Editing the Script
You’ve done great and we are almost done!
16. After you copied the file to the “kodak” folder you need to right click on the file and click “edit”.
**Do Not Open with Microsoft WORD** It may cause syntax errors later on.

17. Type in your email address for “your_email_address_here@gmail.com” to your user email account for KodakGallery.com.
18. Type in your password for “your_password_here”
19. When you are finished go to File > Save

Run Easy Way

20. To run the script simply double click on this file “kodak_gallery.rb” and your photos will begin to download. This may take a long time depending on how many photos you have.
21. DO Not Close the “RubyGems Package Manager” window or the “Start RubyGems RDoc Server” it will stop everything we have done.
Within the “kodak” folder. Many other sub folders will be created depending on the amount of albums you have. Each folder represents an album. Those folders have your pictures!
22. If you wish to stop the download of images simply press CTRL + C , within the “RubyGems Package Manager” window.
How to Run the Geek Way
Doubt I have to explain myself.

Thanks for reading!