Usage:
To dump all images for a set of articles with titles listed in UTF-8 in
ruby wimgs.rb --wiki
--images-dir defaults to './images'
To dump all images of a particular category on Commons, use --category instead of --articles:
ruby wimgs.rb --wiki commons.wikimedia.org --category "Images from Wiki Loves Africa 2014 in Ghana" --images-dir /home/moose/wlm_gh/images
To NOT download the full/original resolution, but a given width, specify the maximum width using --width:
ruby wimgs.rb --wiki tr.wikipedia.org --articles my_favorite_turkish_articles.txt --width 800
To NOT resume an interrupted dump, add the --no-resume (or -r) argument
To only check and show the status of a dump, add the --status (or -s) argument. Nothing will be downloaded.
NOTE: wimgs will create a sqlite3 database in the current working directory named wimgs.db. If the database already exists, wimgs will attempt to resume the dump unless instructed not to, in which case the database will be recreated and any existing image files overwritten.