• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug API Support & Integrations smdown.pl - Unix command-line album downloader

Need some help with your New SmugMug Site?

Dgrin Challenges

Our Challenges moderator has lined up an new set of challenges for you. The Weekly Word Challenge. Get all the details and participate in the conversation Weekly Word Challenge.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Looking for a little challenge? The Dgrin Mini-Challenges are a great way to challenge yourself. Take a moment to look through past winners and find the current Mini Challenge here.

From Around the Net

Enjoy a few of our favorite articles from around the 'net. If you have something you think we should see, post it here and we'll have a look.




Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Oct-30-2006, 03:57 PM
darryl is offline darryl OP
Major grins
smdown.pl - Unix command-line album downloader --> now OS X compatible!
Hi -- a while back I wrote a quick and dirty album downloader in Perl that scraped the HTML from your albums, grabbed links to the originals, and used curl to download the images.

One drawback to the hack was that it didn't get your files back to their original filename.

Well, I finally sat down, figured out this Smugmug API thing, and wrote myself a new version.

Basically it works like this:

smdown.pl --login login --password password http://your.smugmug.com/album

If you use John Ruttenberg's great sm_tool.py for uploading, your .smugmugrc file with login: and password: should work for smdown.pl as well, meaning you won't have to use --login and --password every time you call this script.

It requires a few fairly standard Perl modules (XML::Simple, Getopt::Long and File::Spec) and it makes calls to curl to actually talk to the Smugmug website. These come standard on most Linux/FreeBSD boxes, as well as OS X. You might be able to get this script to work in Windows as well, but I don't have the time nor inclination to test this.

Here's the link: http://www.darryl.com/smdown/

Feedback welcome. Enjoy!

Last edited by darryl; Nov-15-2006 at 11:45 PM. Reason: added OS X support
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump