Simple script to download a Flickr set:
flickr_download -k <api key> -s <api secret> -d <set id>
It can also list the set ids for a given user:
flickr_download -k <api key> -s <api secret> -l <user name>
Get a set using the title and id to name the downloaded files:
flickr_download -k <api key> -s <api secret> -d <set id> -n title_and_id
Get your Flickr API key.
You can also set your API key and secret in ~/.flickr_download
:
api_key: my_key
api_secret: my_secret
The script also allows you to authenticate as your user account. That way you can download sets that
are private and public photos that are restricted. To use this mode, pass in -t
to the script too.
The setup the first time is slightly hacky, but it works :)
- argparse (Python 2.7+)
- Python Dateutil
- Python Flickr API
- PyYAML