GithubHelp home page GithubHelp logo

batchr's Introduction

proto-readme:

0) requirement: Python, probably 2.4 or later (untested with 2.3-)

1) get a flickr API & secret (see http://www.flickr.com/services/api/keys/)

2) stuff the above in two environment variables FLICKR_BATCHR_KEY and 
   FLICKR_BATCHR_SECRET

3) here are some usage patterns:

find the IDs for your sets:
    python ./batchr.py listsets

download original size images taken in 1997, place in specified directory:
    python ./batchr.py download -s o -y 1997 --base=/Volumes/BACKUP/photos        
download large-sized (-s b) images in specified set (-S ...) place in 
specified directory using a year/month/id file layout:

    python batchr.py download -S 7215XXX00 --base="set_photos" \
    --format="%(year)s/%(month_name)s/%(id)s.jpg" -s b      

download medium sized images tagged with foo taken in jan 1999:

    python batchr.py download --tag foo -y 1999 -m 1 --base="jan_99"

Note that downloads are incremental unless the -f/--force option is specified.

Other notable options to the 'download' command:
  --gui uses a GUI progress bar on OS X if CocoaDialogs has been installed
  --list lists each transaction instead of just a progress bar
  -v doesn't actually do the download

Feedback welcome on code.google.com/p/batchr or email to [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.