My Pictures

For whatever reason Flickr seems to have an aversion to owners being able to download their own pictures in bulk. For some of us with a number of pictures over ten thousand it can be quite painful.

While I performed the following steps using Centos 7, any operating system configured to run python scripts can do this.

Prerequisites

The following are needed to perform the retrieval:

  • Ownership of the images to be retrieved
  • The user name on the account
  • The password associated with the account
  • Internet access
  • A web browser to log into the account
  • Free space to download images to
  • A significant amount of time proportionate to the number of images

Code

Under Linux and other Unix derivatives the following can be entered into a terminal to retrieve the code

wget https://raw.githubusercontent.com/wshawn/hivelogic-flickrtouchr/master/flickrtouchr.py

The alternative is to visit my Github Fork.

Execution

For those using a graphical user interface (GUI), open a file explorer and create a directory using the method applicable to your operating system.

Those using the Command Line Interface (CLI), create a directory for the images to be downloaded to:

mkdir FlickrBackupFolder

Now call the script with the directory name as the parameter.

python flickrtouchr.py FlickrBackupFolder

The script will need authorization to access the user's images. Typically, a browser will start and direct the user to Flickr where they can log into their account and authorize flickrtouchr.py to have access.

Once access is authorized the process will begin/

Caveats

This process takes quite a long time. A very long time. For thirteen thousand images it took almost twenty hours to download 26 gigs.

Make sure the system does not go to sleep.

Credits

Dan Benjamin who modifed the original script to retrieve Flickr originals.
Colm MacCárthaigh the author of the original script.

In this article