Commit Graph

226 Commits

Author SHA1 Message Date
Dave
075faa71ac Update spoilers.py 2017-09-08 12:49:45 -05:00
Dave
0a258379fb Update spoilers.py 2017-09-08 12:40:36 -05:00
Dave
2f54837d88 Update cards_corrections.yml 2017-09-08 12:24:54 -05:00
Dave
d09248b837 Update cards_corrections.yml 2017-09-08 12:09:57 -05:00
Dave
0bc5aca633 Update cards_corrections.yml 2017-09-08 12:03:04 -05:00
Dave
3849e977a0 Update cards_corrections.yml 2017-09-08 11:37:50 -05:00
Dave
66871a12f2 Merge pull request #146 from dev-id/future-sets-cleanup
Improved no-cards set debug print
2017-09-08 10:16:09 -05:00
dev-id
78f5dd2df9 Improved no-cards set debug print 2017-09-08 10:12:15 -05:00
Dave
dea584cb35 [WIP] Double-faced card handling (#144)
* Double-faced card handling

Remove duplicate debug print (no image shows up in error file)

* Handle DFC different than Split

* Don't DFC if no number

Cards with ? for a card number shouldn't be attempted to match for DFC
2017-09-07 21:08:06 -05:00
Dave
b1904667e4 Merge pull request #145 from dev-id/future-sets-cleanup
Don't make set files for sets without cards.
2017-09-07 11:28:09 -05:00
dev-id
fa10639000 Don't make set files for sets without cards.
Don't put them in spoiler.json
2017-09-07 11:21:06 -05:00
tooomm
0fd2ead70d more future sets info (#143)
Add future sets to setinfo with any available information completed and the rest commented.

noRSS enabled for each, spoiler.rss is current-set-only. As MTGS spoiler.rss gets updated, noRSS should be removed/falsed for the current set. 

* updated with basic info for future sets

source: http://www.mtgsalvation.com/forums/magic-fundamentals/the-rumor-mill/673776-schedule-of-upcoming-releases-and-spoiler-seasons

* added mythicCode to optional keys

* Update set_info.yml

http://magic.wizards.com/en/products/iconic-masters

http://markrosewater.tumblr.com/post/163779974563/wait-so-the-unstable-set-code-is-ust-i-thought

http://magic.wizards.com/en/products/rivals-ixalan

http://magic.wizards.com/en/products/masters-25

http://magic.wizards.com/en/products/dominaria

http://magic.wizards.com/en/products/core-2019

* Update set_info.yml

* Update set_info.yml

* Update mtgs_scraper.py

* Update mtgs_scraper.py

* Update set_info.yml

* more documentation

* Only print set stats for sets with cards

* Move set has cards check for debug print

* Print line if set has no cards
2017-09-07 10:32:42 -05:00
tooomm
78776169ab add huatli loyalty 2017-09-06 19:46:33 +02:00
Dave
50294c8f30 Merge pull request #142 from dev-id/new-wotc-url2
New WOTC card gallery URL
2017-09-06 12:26:35 -05:00
dev-id
da4a8ba28b New WOTC card gallery URL 2017-09-06 12:20:19 -05:00
Dave
16bbda2c22 Test Travis no-change 2017-09-05 15:13:40 -05:00
Dave
9545f30b99 Oops true-->false 2017-09-05 15:09:11 -05:00
Dave
5368ea3368 Travis debug 2017-09-05 15:03:50 -05:00
Dave
fd228f72e0 Update deploy.sh 2017-09-05 14:56:38 -05:00
Dave
9e8c20fd06 Merge pull request #141 from dev-id/ignore-date-only-commit
Don't commit travis only spoiler datetime change
2017-09-05 14:49:34 -05:00
Dave
37d12eb5d9 Merge branch 'master' into ignore-date-only-commit 2017-09-05 14:47:30 -05:00
Dave
1d443142ac Don't commit travis only spoiler datetime change
If only the date time in spoiler.xml has changed, don't commit.
2017-09-05 14:39:33 -05:00
Dave
01fcaec7c9 No empty commits from Travis 2017-09-04 13:49:53 -05:00
Dave
1b549638dc Merge pull request #136 from dev-id/small-getimage-fx-refactor
Refactor get_image_urls function to use only `setinfo` as input.
2017-09-04 10:46:14 -05:00
Dave
1f0f3129a0 Merge pull request #138 from dev-id/strip_card_name
Strip leading/trailing spaces from card names.
2017-09-04 10:46:03 -05:00
Dave
9d00b4f05a Error log to YAML (#137)
* Error log to YAML

* Also dump debug print to YAML
2017-09-04 10:45:50 -05:00
dev-id
00dd79bf14 Strip leading/trailing spaces from card names.
May prevent certain image sources from working (mtgs?)
2017-09-02 21:51:04 -05:00
dev-id
9693dad628 Refactor get_image_urls function to use only setinfo as input. 2017-09-02 21:21:29 -05:00
tooomm
c036cefbf7 remove old card names
cards doesn't show up in mtgs spoiler.rss (anymore)

wrong names on unconfirmed cards most likely anyway:
what used to be "Join the Party" is called "Call to the Feast" now for example
2017-09-02 20:02:18 +02:00
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