Skip to main content

A script to download all photos and videos in your Flickr account

Project description

backup-all-my-flickr-photos

PyPI PyPI PyPI PyPI

This scripts simply downloads all your Flickr photos and videos into a directory.

Installation instructions:

pip3 install backup_all_my_flickr_photos

It is recommended to create a Python 3 environment with Virtualenv first.

Run:

backup-all-my-flickr-photos [--delete] <destination_directory>

This will download all the photos and videos in your account to the destination directory specified.

On the the first run, you will be prompted to provide an API key and secret, and to authorise the application. The script will guide you through this process. The information will get saved to ~/.config/backup-all-my-flickr-photos/.

The files in the destination folder will be given an appropriate file extension and will be named with the name of the photo/movie (if it has a name), followed by an ID number. No other metadata is saved.

Options:

--delete:

If you specified the --delete flag, it will also delete files in the destination directory that do not correspond to photos or videos in your Flickr account.

--albums:

In addition to downloading all the photos and videos, this will create a directory for each album in the destination directory. Each directory will contain symlinks to the photos and videos that that album contains. This option cannot be used on Windows, because Windows does not support symlinks.

--skip-errors or -s:

If an error occurs during the download of a photo or video, usually the script automatically retries the download a few times. If it still fails, then an error is printed and the script quits. Use this option if you want it to skip to the next photo or video.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

backup_all_my_flickr_photos-1.1-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page