mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
Merge branch 'master' of github.com:Cockatrice/Magic-Spoiler
This commit is contained in:
commit
83d04f0242
|
|
@ -3,8 +3,7 @@
|
|||
|
||||
# Magic-Spoiler [](https://gitter.im/Cockatrice/Magic-Spoiler) #
|
||||
|
||||
Magic-Spoiler is a Python script to scrape <i>MTG Salvation</i>, <i>Scryfall</i>, <i>MythicSpoiler</i> and <i>Wizards</i> to compile<br>
|
||||
XML files (Cockatrice formatted) and application-ready json files (mtgjson formatted) with information about spoiled cards from upcoming sets.
|
||||
Magic-Spoiler is a Python script to scrape <i>[Scryfall](https://scryfall.com)</i> to compile XML files (Cockatrice formatted) and application-ready json files (mtgjson formatted) with information about spoiled cards from upcoming sets.
|
||||
|
||||
## Output [](https://travis-ci.org/Cockatrice/Magic-Spoiler) ##
|
||||
Just looking for XML or JSON files? [They are in our `files` branch!](https://github.com/Cockatrice/Magic-Spoiler/tree/files)
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ def open_header(card_xml_file: IO[Any]) -> None:
|
|||
:param card_xml_file: Card file path
|
||||
"""
|
||||
card_xml_file.write(
|
||||
"<cockatrice_carddatabase version='4'>\n"
|
||||
"<cockatrice_carddatabase version='3'>\n"
|
||||
+ "<!--\nCreated At: "
|
||||
+ datetime.datetime.utcnow().strftime("%a, %b %d %Y, %H:%M:%S")
|
||||
+ " (UTC)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user