Commit Graph

492 Commits

Author SHA1 Message Date
dependabot[bot]
4392c34919
Bump actions/upload-artifact from 6 to 7 (#319)
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
2026-03-13 06:17:11 +01:00
tooomm
f8cdbc9a7f
Add more info to parsing error message (#317)
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
* Add exception to message

* Add set code

* Print warning in CI summary

* Improve error messages for card parsing
2026-01-28 22:36:33 +01:00
dependabot[bot]
4cef743e46
Bump actions/upload-artifact from 5 to 6 (#315)
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
2026-01-07 08:15:08 +01:00
ebbit1q
2f76311165
Update README.md
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
2025-12-12 12:46:38 +01:00
tooomm
1060f659a5
Add fallback type_line handling (#313)
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
Handle missing type_line in spoiler cards.
2025-11-25 16:57:33 +01:00
dependabot[bot]
2f23aa93c6
Bump actions/checkout from 5 to 6 (#314)
Some checks are pending
Deploy / Check for new spoiler (push) Waiting to run
2025-11-24 19:39:30 +01:00
dependabot[bot]
34068d4d5e
Bump actions/upload-artifact from 4 to 5 (#312)
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-22 10:24:50 +01:00
tooomm
daa0f09a5e
Increase timeout to 10s
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
2025-09-13 11:17:38 +02:00
Zach H
85e4bd093b
Merge pull request #310 from Cockatrice/fix_key_error
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
Fix error & more robust MFC handling
2025-08-20 20:04:20 -04:00
dependabot[bot]
257282374f
Bump actions/checkout from 4 to 5 (#311)
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
2025-08-18 15:42:55 +02:00
tooomm
f3ac505dac
formatting
Use same formatting as before
2025-08-10 21:37:07 +02:00
tooomm
10aceba7a9
simplify as api guarantees existance
```
Card Face Objects
Multiface cards have a card_faces property containing at least two Card Face objects.
```
See https://scryfall.com/docs/api/cards
2025-08-10 13:42:33 +02:00
tooomm
6a14f8889e fix key error 2025-08-10 13:27:41 +02:00
tooomm
04150f692e
Python 3.10 compatibility
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
2025-08-10 13:20:36 +02:00
tooomm
d74a762f35 datetime.datetime.utcnow() is deprecated 2025-08-10 12:15:34 +02:00
tooomm
cae671b37f
Speedup CI (#309)
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
* speedup ci

* use req file

* remove cflag as only lxml is affected, but its never build as pip uses available wheels
2025-03-08 11:03:11 +01:00
tooomm
6d0ca400be
Fix badge 2025-03-02 23:22:30 +01:00
tooomm
0b4b3bad0f
Remove old Gitter chat 2025-03-02 23:11:27 +01:00
tooomm
d13dc6b799 Issue templates not fitting 2025-03-02 22:55:17 +01:00
tooomm
4d049b92dc
Add PEP8 note to CONTRIBUTING.md 2025-03-02 21:02:08 +01:00
J. Cameron McDonald
8459b3bfdd
feat: use set priorities (#308)
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
* feat: use set priorities

* change FALLBACK from 1 to 0 to match Cockatrice logic
2025-01-19 14:53:35 +01:00
tooomm
b7c6f5e896
Update README.md
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
2024-11-02 19:37:01 +01:00
tooomm
7678fadeca
Adjust badges 2024-02-10 15:06:55 +01:00
tooomm
0efd986a16
Allow to define a list of set_types to exclude (#303)
* add sets

* add comment

* No lowercase transformation
2024-02-10 15:00:13 +01:00
dependabot[bot]
c7a7a66523
Bump actions/upload-artifact from 3 to 4 (#305)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 00:05:59 +01:00
dependabot[bot]
c619c4ec0b
Bump actions/checkout from 3 to 4 (#304)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 00:04:45 +01:00
tooomm
ab0ad6f6bf
Create dependabot.yml 2023-12-19 00:02:22 +01:00
tooomm
bdb0c5367e
Remove json leftovers 2023-11-21 22:06:14 +01:00
tooomm
35c063b909
Display last update date 2023-11-08 18:51:00 +01:00
tooomm
2f5bcd39c5
cleanup requirements (#299) 2023-05-31 10:06:16 +02:00
ebbit1q
fee97dcfa9
fix #234 etc (#297) 2023-03-26 15:04:33 +02:00
tooomm
9df6be76c8
add spoiler label (#298) 2023-03-26 11:10:55 +02:00
ebbit1q
3dd54f59d8
remove writing of json files (#295)
Co-authored-by: tooomm <tooomm@users.noreply.github.com>
2023-03-25 14:34:46 +01:00
ebbit1q
5e716ecdfd
add filename to url in set header (#296) 2023-03-25 13:55:27 +01:00
tooomm
4681501866
Update content badges
add set count, set names now better readable
2023-03-05 00:48:10 +01:00
ebbit1q
9eab59de79
add missing json files to commit in action
fixes #294 again
2023-02-27 15:54:17 +01:00
ebbit1q
4692b6230e
fix missing quotes in action
fixes #294
2023-02-27 04:46:07 +01:00
ebbit1q
6a92707354
update github action (#293)
use the node-16 version of checkout
replace use of set-output with adding to GITHUB_OUTPUT
fix xml comparison using the info tags
fix deploy being triggered while only date has changed
2022-12-11 23:33:07 +01:00
tooomm
ef39de857f
temporarily add old date format in comment for old clients (#292) 2022-02-14 18:51:13 +01:00
ebbit1q
c4764f3c17 don't remove the ? from image urls 2022-02-09 18:29:28 +01:00
tooomm
e9d8f09136
CI: Exclude .json files from deployment (#288)
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2022-02-08 17:48:50 +01:00
tooomm
8deb35f745
add <info> key (#251)
* add <info> key

* cleanup doubled

* add schemaLocation attribute

* updated date output

* space

* updated version output

* bump to v4

* escape quotes

* fix schema version

* fix

* move comment to match token

* escape

* Revert "escape"

This reverts commit 18df8eda30.

* Revert "move comment to match token"

This reverts commit f1ce0cb850.

* correct direct file link

Co-authored-by: ebbit1q <ebbit1q@gmail.com>

* Update magic_spoiler/__main__.py

* Update magic_spoiler/__main__.py

Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2022-02-07 00:38:31 +01:00
tooomm
bd910e37de
Move to Cockatrice v4 db style (#255)
* cockatrice xml db v4

* bump to v4

* at least make the style consistent

Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2022-02-06 02:46:29 +01:00
tooomm
bb7980bec2
Adapt script to require UTF-8 (#267)
* properly set encoding

* Update magic_spoiler/__main__.py

Co-authored-by: ebbit1q <ebbit1q@gmail.com>

* fixup code suggestion

Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2022-02-06 02:18:09 +01:00
ebbit1q
f17023cf47
Merge pull request #286 from Cockatrice/tooomm-xml_declaration
Fix XML declaration
2022-02-06 01:55:48 +01:00
tooomm
bb0e3b89ea
cleanup 2022-02-05 21:05:47 +01:00
tooomm
c0d726a9e2 add xml declaration 2022-02-05 20:58:45 +01:00
tooomm
a49a417e02 Revert "Merge pull request #277 from Cockatrice/tooomm-patch-5"
This reverts commit 32fc4ef4fc, reversing
changes made to c8b5317293.
2022-02-05 20:54:56 +01:00
ebbit1q
32fc4ef4fc
Merge pull request #277 from Cockatrice/tooomm-patch-5
Add XML declaration
2022-02-05 19:10:51 +01:00
tooomm
5d94c7a3d5 Merge branch 'master' into tooomm-patch-5 2022-02-05 12:19:22 +01:00