/mtg_scraper

Scraper for https://gatherer.wizards.com

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

MTG scraper

mtg_scraper provides a ready to use PostgreSQL database containing Magic: the gathering cards and sets as well as a script to download fresh database from https://gatherer.wizards.com

Download

You can download the latest DB dump on Releases page

Installation

system dependencies

postgresql

Usage

initialize database

Database connection can be configured in lib/mtg_scraper/db.rb

rake db:create # initialize DB structure

run scraper

rake scrape