Skip to content

dev-id/SpoilerSeason

Repository files navigation

This project is no longer maintained. Please go to the superceding project at github.com/Cockatrice/Magic-Spoiler

SpoilerSeason Join the chat at https://gitter.im/SpoilerSeason/Lobby

SpoilerSeason is a python script to scrape MTGS, Scryfall, and Wizards.com to compile a cockatrice-friendly XML file as well as json files.

Output Build Status

Just looking for XML or JSON files? They're in our files branch!

Errors

Noticed an error? Check out our Contributing file for information on how to help!

Running

Requirements

  • Python 2.7
  • Python Modules: requests==2.13.0 feedparser lxml Pillow datetime
pip install -r requirements.txt

Usage

$> python main.py

Outputs out/{SETCODE}.xml, out/MPS_{SETCODE}.xml, out/{SETCODE}.json, out/{MPS_{SETCODE}.json

errors are logged to out/errors.json

Add the set xml file to your customsets folder for Cockatrice.

When run by travis, uploads all files to files branch

About

SpoilerSeason has been superceded by Cockatrice/Magic-Spoiler

Resources

License

Stars

Watchers

Forks

Packages

No packages published