Downloadr downloads images from the flickr website. You can specify tags or groups to filter on.
Examples
# ./downloadr.py usage: downloadr.py [options] -g, --group=gid return photos from group gid (e.g: 98069709@N00) -c, --groupsearch=text search group list for text (good way to obtain group gids) -t, --tag=tagname filter on tagname -n, --number=n download maximum n new images -p, --prefix=text specify the output filename prefix -h, --help print out some perhaps useful text, a bit like this
# ./downloadr.py -c sunsets Searching group list for text 'sunsets' 7 results found 52241463326@N01 Sunsets 52242317293@N01 Sunsets and sunrises around the world 70148214@N00 Whitstable sunsets 51015343@N00 Arizona Discovery 36856376@N00 Pakistan Images 74547509@N00 Photo Jigsaw Puzzles 52877378@N00 High Altitude Sunrises and Sunsets
# /downloadr.py -g 52241463326@N01 -n 5 -p sunsetstest Getting list of images from group '52241463326@N01' 500 photos found Downloading new image 66940983 Downloading new image 67502762 Downloading new image 67473766 Downloading new image 67473767 Downloading new image 66935112 maximum reached, stopping # ls -lah sunsetstest* -rw-r--r-- 1 john john 91K Nov 27 18:11 sunsetstest_66935112.jpg -rw-r--r-- 1 john john 60K Nov 27 18:10 sunsetstest_66940983.jpg -rw-r--r-- 1 john john 91K Nov 27 18:10 sunsetstest_67473766.jpg -rw-r--r-- 1 john john 89K Nov 27 18:10 sunsetstest_67473767.jpg -rw-r--r-- 1 john john 68K Nov 27 18:10 sunsetstest_67502762.jpg
TODO
- user authentication to access user specific stuff
- download images from sets
- download images from non-public groups
- download non-public user images
- paging support to download more than the last 500 images
- support for downloading larger resolution images
- to avoid duplication of bandwidth and/or disk space save images as just flickr id and keep list of prefix to id info in a database (text file)
- filter images on text search