tooomm
f8cdbc9a7f
Add more info to parsing error message ( #317 )
...
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
tooomm
1060f659a5
Add fallback type_line handling ( #313 )
...
Deploy / Check for new spoiler (push) Has been cancelled
Handle missing type_line in spoiler cards.
2025-11-25 16:57:33 +01:00
tooomm
daa0f09a5e
Increase timeout to 10s
Deploy / Check for new spoiler (push) Has been cancelled
2025-09-13 11:17:38 +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
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
J. Cameron McDonald
8459b3bfdd
feat: use set priorities ( #308 )
...
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
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
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
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
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
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
tooomm
5d94c7a3d5
Merge branch 'master' into tooomm-patch-5
2022-02-05 12:19:22 +01:00
ebbit1q
5e6d9ad5f7
Update magic_spoiler/__main__.py
2022-02-04 23:56:11 +01:00
tooomm
a33e90021b
cleanup
2022-02-04 16:54:35 +01:00
tooomm
d234a9ccef
Update __main__.py
2022-02-04 15:19:15 +01:00
tooomm
13023af780
wording
2022-02-04 15:17:32 +01:00
tooomm
8afb4cee34
Update __main__.py
2022-01-24 15:43:55 +01:00
tooomm
d54f412793
Update __main__.py
2022-01-24 15:38:34 +01:00
tooomm
1adfed5fc6
Update __main__.py
2022-01-24 15:35:56 +01:00
tooomm
ef0ced8d69
Update __main__.py
2022-01-24 15:27:22 +01:00
tooomm
929a04c915
Update __main__.py
2022-01-24 15:14:30 +01:00
tooomm
8bceceae6e
Update __main__.py
2022-01-24 15:09:11 +01:00
tooomm
bcfb1038c7
Update __main__.py
2022-01-24 15:00:05 +01:00
tooomm
47c3b43963
Update __main__.py
2022-01-24 14:48:05 +01:00
tooomm
764ff7203c
Update __main__.py
2022-01-24 14:44:42 +01:00
tooomm
15ae2677cd
+
2021-07-15 20:34:57 +02:00
tooomm
ff54e754c8
re-add xml version and encoding information
2021-07-15 20:27:58 +02:00
ebbit1q
26e1e22ad0
use tilde (~) as the SPOILER_MARKER instead
...
* is apparently not allowed as a filename on windows
2021-05-28 00:43:26 +02:00
ebbit1q
31ba735d95
add asterisk to spoiler set codes
...
this will make them not use the same location on disk anymore so people
will complain less about keeping spoiler card art when they don't clear
their image cache
people should still clear their image cache
this is a workaround, a nicer solution should be implemented in
cockatrice sometime
2021-05-27 23:23:34 +02:00
ebbit1q
0f4ec17eb6
remove control characters from xml
2021-05-27 23:23:10 +02:00
ebbit1q
4b25618657
fix exception when spoiler season is inactive
2021-04-30 00:32:43 +02:00
ebbit1q
b5d1d938a8
add -p to all mkdirs
2021-01-17 04:44:52 +01:00
ebbit1q
a242ebb1d1
escape some xml values
2021-01-17 04:39:36 +01:00
ebbit1q
37f2d8e19b
remove deploy.sh use output instead of exit code
2020-12-03 23:41:19 +01:00
ebbit1q
b29407d718
move to github actions
2020-12-01 06:26:27 +01:00
ZeldaZach
54fc3aae83
Minor fix for image
...
Signed-off-by: ZeldaZach <zahalpern+github@gmail.com>
2020-09-08 14:07:15 -04:00
ZeldaZach
69fac381f9
Fix Zendikar issues
...
Signed-off-by: ZeldaZach <zahalpern+github@gmail.com>
2020-09-03 02:11:17 -04:00
tooomm
c136e4122e
adjust hint phrasing
2019-09-11 13:39:11 +02:00