- Install Ruby and bundler (using your preferred mechanism)
- Run bundler:
$ bundle install
bundle exec ruby desktopography.rb
Arguments are specified as environment variables, although you could easily modify the first 10 lines of the script.
# This one is unlikely to change, but you can if you like
SITE="http://desktopography.net" ruby desktopography.rb
# Specify which year you would like to download
YEAR=2014 ruby desktopography.rb
# What dimensions would you like? We default to largest widescreen (16:9) ratio, 2560x1440
# Supported dimensions can be found on image page "download" dropdown.
FORMAT=1600x1200 ruby desktopography.rb
# The default directory is ./desktopography_{specified_year}
# Please use a full path if specifying another
DIR=/path/to/images/desktopography/2014 ruby desktopography.rb