Skip to content

stefkin/mtg_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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