A script to download all photos and videos in your Flickr account
Project description
backup-all-my-flickr-photos
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
Built Distribution
File details
Details for the file backup_all_my_flickr_photos-1.1-py3-none-any.whl
.
File metadata
- Download URL: backup_all_my_flickr_photos-1.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4512bd029df96f34e45e079506fc0786eccbf9fb12ebd7f67a81f8080c646a |
|
MD5 | 059ad4781d046a07ab73fa240614d970 |
|
BLAKE2b-256 | 24d5b3a1eeee83175560744ec9984db560e65c08b0909ad2fcbea7c310c2b9df |