Cheldra
d042f71009
New set_info value mythicCode ( #135 )
...
* New set_info value mythicCode
Mythicspoiler is using IXA rather than XLN for some reason. Creating a new parameter to account for this.
* mythicCode
* mythicCode
* Mtgs name fixes
* Mtgs name fixes
* Set mythicCode to code if not present in setinfo
2017-09-02 10:25:22 -05:00
tooomm
bbf48cf077
more loyalty fixes
...
please include loyalty information in your feed, mtgs guys...
2017-09-01 20:37:37 +02:00
tooomm
588072b9b2
loyalty fix
2017-08-28 20:58:15 +02:00
tooomm
4dd80ac308
fix pics ( #134 )
2017-08-28 20:45:40 +02:00
tooomm
77ec60570e
remove old sets and better correction files ( #133 )
...
* remove old sets and better correction files
* debug manual_sets
* Update main.py
* little tweaks
2017-08-26 06:23:03 +02:00
tooomm
ff26d45bd0
move utc tag in xml file
2017-08-23 11:33:11 +02:00
tooomm
0293efcea0
add timezone to runtime
2017-08-23 11:26:20 +02:00
tooomm
0c6b894f07
enable XLN parsing ( #131 )
...
* enable xln
* clarify dashes in comment
2017-08-23 08:55:45 +02:00
Dave
c98dd74e48
Convert HOU headers to comments as example
2017-08-22 12:59:17 -05:00
tooomm
d64c1f7c48
correct c17 date
...
http://magic.wizards.com/en/articles/archive/feature/commander-2017-edition-release-notes-2017-08-11
2017-08-14 11:05:51 +02:00
tritoch
9d5f723fc8
Use scryfall data for C17 (disables all other sources) ( #127 )
...
* Use scryfall data for C17 (disables all other sources)
* Allow individual sets to be scryfall-only sourced.
Remove prototyped variables (and add one...)
2017-08-12 23:20:24 -05:00
Lee Matos
e4a5b51307
refactor no cards found exit case to be more pythonic ( #123 )
...
replace counting loop with len()
2017-07-14 22:32:53 -05:00
tritoch
1e52497bc3
Update deploy.sh
2017-07-13 21:11:28 -05:00
tritoch
39a6ba1464
Travis debug ( #122 )
...
Kill background process hanging Travis-CI
2017-07-13 21:07:30 -05:00
tritoch
f561e483aa
Debug travis timeout ( #121 )
...
* travis debug
* Update .travis.yml
2017-07-13 15:37:57 -05:00
tooomm
0b0c19ca06
folder for all Travis CI files and scripts ( #117 )
...
* add .travis folder
- gather all travis related files in one folder
- update location calls
* Move verify_files back out
* Update .travis.yml
* Move deploy_key to .travis folder
2017-07-11 14:30:14 +02:00
Zach H
2b41643255
Merge pull request #109 from tritoch/replace-typeline-dash
...
Replace `-` in type line with `—`
2017-07-11 00:17:52 -04:00
Zach H
b1693f3c30
Merge pull request #119 from tritoch/exit-on-xsd-fail
...
Exit with failure on XSD invalid
2017-07-11 00:16:37 -04:00
tritoch
a58e8fac01
Exit with failure on XSD invalid
2017-07-10 22:59:27 -05:00
tooomm
a3a3fc74e3
update date/time format ( #114 )
...
Remove invalid and redundant datetime tags
2017-07-10 21:21:07 -05:00
tritoch
2457a5bd34
Merge pull request #115 from Cockatrice/tooomm-print_log
2017-07-10 20:46:25 -05:00
tooomm
88c93c013d
adjust print in log
...
grammar
2017-07-10 15:09:13 +02:00
tritoch
529a4da3d9
Remove cards from MTGS RSS that aren't in gallery ( #112 )
2017-07-07 16:32:02 -05:00
tritoch
f74bd35c8d
Eliminate 'split_cards' array. Use 'names' key to determine split cards. ( #111 )
2017-07-07 16:27:50 -05:00
tritoch
39f6243846
Prettify set xml files ( #110 )
2017-07-07 16:27:36 -05:00
tritoch
846a41d2e2
Error on type not in valid type list ( #108 )
2017-07-07 16:27:22 -05:00
tritoch
4d62dcf946
Fix costs in text ( #107 )
...
* Replace anything found in `{}` with uppercase, single character versions
* Remove debug print
2017-07-07 16:27:00 -05:00
tritoch
291efdb19e
Replace - in type line with —
2017-07-07 00:20:44 -05:00
tritoch
c13a719944
Remove open parenthesis deletion
...
Fixes #81
2017-07-06 23:18:17 -05:00
tritoch
9004f6d285
formatting
2017-07-06 22:35:53 -05:00
tritoch
04e6a1892f
Verify spoiler.xml against Cockatrice's XSD file ( #105 )
...
Verifies spoiler.xml against Cockatrice's XSD file
verify_xml currently takes an xml file and XSD as a string
Prints a pass/fail above XML dump
* Re-order xml writing to pass XSD
* Improved XSD verification
Now prints error
Now handles malformed XML or XSD
2017-07-06 21:37:11 -05:00
tritoch
3ee6aa3842
Merge pull request #106 from tritoch/build-date
...
Build date in XML
2017-07-06 21:36:16 -05:00
tritoch
dc9b9b7a48
Refactor set_info, download_images to scraper sub
...
Refactor set_info to align with mtgjson keys.
Move download_images to wizards_scraper
2017-07-06 19:46:26 -05:00
tritoch
599aaee733
Less gitter notifications from Travis
...
Fixes #93
2017-07-06 17:56:56 -05:00
tritoch
c40355f0fb
Build date in XML
2017-07-06 17:49:36 -05:00
tritoch
5b987d28cf
Change input files to YAML ( #99 )
...
Input files to yaml
Deduplicate file verification, move it out to module.
Remove commentjson requirement
2017-07-06 14:25:10 -05:00
tritoch
10aed51df3
Merge pull request #102 from leematos/lm-remove-urllib
...
Remove urllib requirement and replace with requests
2017-07-06 09:37:13 -05:00
tooomm
146db4f741
Travis: run on ubuntu trusty container-based images ( #101 )
...
Use trusty (Ubuntu 14.04) for travis. Don't version lock requirements. This should not affect non-travis users because the bug in requests has been fixed to my knowledge.
2017-07-06 09:26:33 -05:00
Lee Matos
8900c1f8af
Remove urllib requirement and replace with requests
2017-07-05 22:43:19 -04:00
Lee Matos
1dd538d5a1
First pass refactoring scrapers into separate modules ( #98 )
...
Splits off the respective scrapers into submodules (mtgs_scraper.py, scryfall_scraper.py, mythic_scraper.py, wizards_scraper.py)
2017-07-05 20:44:45 -05:00
tooomm
2af17727a4
enable pip cache & non-optimizing cmake for travis ( #92 )
...
pip cache & non-optimizing compiling for travis speedups
2017-07-05 00:12:24 -05:00
tritoch
fc916a58f4
Merge pull request #89 from Cockatrice/tooomm-card_fix
...
not only fix type, but also types
2017-07-03 06:39:27 -05:00
tritoch
d99d2f7c91
Merge pull request #84 from tritoch/post-mtgjson-wipe
...
After MTGJSON adds the sets, we don't want them anymore
2017-07-03 06:39:12 -05:00
tooomm
9862add338
not only fix type, but also types
2017-07-03 01:31:13 +02:00
tritoch
80c09b1e88
After MTGJSON adds the sets, we don't want them anymore. Goodbye spoiler season!
2017-07-02 11:07:16 -05:00
Lee Matos
91cc9559e5
refactor loading json ( #77 )
...
* refactor loading json
2017-07-02 10:57:23 -05:00
Cheldra
626fa6be9d
Fixing a bunch of ability costs and a typeline ( #79 )
...
* Fixing a bunch of ability costs and a typeline
* Visage of Bolas and Cinder Barrens fix
2017-07-02 10:56:53 -05:00
tritoch
324fcb6bbb
Merge pull request #76 from Cockatrice/tooomm-remove_split_card
...
remove split card definition from script start
2017-07-02 10:53:41 -05:00
tooomm
7bde6d0ea8
sifter wurm: correct rarity ( #82 )
2017-07-02 15:07:16 +02:00
tooomm
f320660a22
remove split card
2017-07-01 01:32:12 +02:00