public
Fork of bruno/openaustralia-parser
Description: Parser component for Open Australia
Homepage: http://openaustralia.org
Clone URL: git://github.com/mlandauer/openaustralia-parser.git
openaustralia-parser / member-images.rb
100755 13 lines (8 sloc) 0.293 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env ruby
 
$:.unshift "#{File.dirname(__FILE__)}/lib"
 
require 'configuration'
require 'people'
 
conf = Configuration.new
 
people = PeopleCSVReader.read_members
puts "Downloading person images..."
people.download_images("#{conf.file_image_path}/mps", "#{conf.file_image_path}/mpsL")