/cardgamedb-image-downloader

Get Android: Netrunner images from CardgameDB and save them locally.

Primary LanguageRuby

About

This is a set of ruby scripts that will download card images for Netrunn: Android or Star Wars from the CardGameDB website and save them locally.

Requirements

This script is written in Ruby and uses the Watir library. You will need both of these installed to use this script.

The easiest way for Windows users to get started is to download RubyShell from TestWise found here. RubyShell includes both Ruby and Watir.

Usage

Download the appropriate script from this page and save it to locally.

  1. Open a terminal window.
  • E.g. Start > Run > Type "CMD" and hit enter
  1. Change directory to the location you saved the script.
  • E.g. "cd Desktop"
  1. Type "ruby cardgamedb-NR-scraper.rb" or "ruby cardgamedb-SW-scraper.rb"
  2. The script will open your web browser and navigate to the CardGameDB.com page. It will then proceed to download each card from the database.
  3. When the script finishes, you should have a new folder on your C:\ drive called "netrunnercards" or "starwarscards". This folder will contain all the cards that were just downloaded.