beiyanpiki 1 year ago
parent 8caf3e79ca
commit 747ddc5fe9

@ -1,6 +1,6 @@
[ [
{ {
"name": "\u8865\u5145\u5305 \u6a2a\u7a7a\u51fa\u4e16 \u8d6b", "name": "\u6a2a\u7a7a\u51fa\u4e16 \u8d6b",
"set_id": "CSM1aC", "set_id": "CSM1aC",
"symbol": "CSM1aC", "symbol": "CSM1aC",
"release_date": "2022-10-28", "release_date": "2022-10-28",
@ -9494,7 +9494,7 @@
"cards_num": 211 "cards_num": 211
}, },
{ {
"name": "\u8865\u5145\u5305 \u6a2a\u7a7a\u51fa\u4e16 \u82cd", "name": "\u6a2a\u7a7a\u51fa\u4e16 \u82cd",
"set_id": "CSM1bC", "set_id": "CSM1bC",
"symbol": "CSM1bC", "symbol": "CSM1bC",
"release_date": "2022-10-28", "release_date": "2022-10-28",
@ -18553,7 +18553,7 @@
"cards_num": 204 "cards_num": 204
}, },
{ {
"name": "\u8865\u5145\u5305 \u6a2a\u7a7a\u51fa\u4e16 \u6cfd", "name": "\u6a2a\u7a7a\u51fa\u4e16 \u6cfd",
"set_id": "CSM1cC", "set_id": "CSM1cC",
"symbol": "CSM1cC", "symbol": "CSM1cC",
"release_date": "2022-10-28", "release_date": "2022-10-28",
@ -42212,7 +42212,7 @@
"cards_num": 5 "cards_num": 5
}, },
{ {
"name": "\u5f3a\u5316\u5305 \u5bf9\u6218\u7cbe\u82f1", "name": "\u5bf9\u6218\u7cbe\u82f1",
"set_id": "CSM1.5C", "set_id": "CSM1.5C",
"symbol": "CSM1.5C", "symbol": "CSM1.5C",
"release_date": "2022-12-16", "release_date": "2022-12-16",
@ -60889,7 +60889,7 @@
"cards_num": 366 "cards_num": 366
}, },
{ {
"name": "\u8865\u5145\u5305 \u4ea4\u76f8\u8f89\u6620 \u6c90", "name": "\u4ea4\u76f8\u8f89\u6620 \u6c90",
"set_id": "CSM2aC", "set_id": "CSM2aC",
"symbol": "CSM2aC", "symbol": "CSM2aC",
"release_date": "2023-01-18", "release_date": "2023-01-18",
@ -69769,7 +69769,7 @@
"cards_num": 194 "cards_num": 194
}, },
{ {
"name": "\u8865\u5145\u5305 \u4ea4\u76f8\u8f89\u6620 \u9b41", "name": "\u4ea4\u76f8\u8f89\u6620 \u9b41",
"set_id": "CSM2bC", "set_id": "CSM2bC",
"symbol": "CSM2bC", "symbol": "CSM2bC",
"release_date": "2023-01-18", "release_date": "2023-01-18",
@ -78414,7 +78414,7 @@
"cards_num": 193 "cards_num": 193
}, },
{ {
"name": "\u8865\u5145\u5305 \u4ea4\u76f8\u8f89\u6620 \u5524", "name": "\u4ea4\u76f8\u8f89\u6620 \u5524",
"set_id": "CSM2cC", "set_id": "CSM2cC",
"symbol": "CSM2cC", "symbol": "CSM2cC",
"release_date": "2023-01-18", "release_date": "2023-01-18",
@ -87944,7 +87944,7 @@
"cards_num": 15 "cards_num": 15
}, },
{ {
"name": "\u5f3a\u5316\u5305 \u70ab\u5947\u4e89\u80dc", "name": "\u70ab\u5947\u4e89\u80dc",
"set_id": "CSM2.5C", "set_id": "CSM2.5C",
"symbol": "CSM2.5C", "symbol": "CSM2.5C",
"release_date": "2023-03-17", "release_date": "2023-03-17",
@ -111184,7 +111184,7 @@
"cards_num": 230 "cards_num": 230
}, },
{ {
"name": "\u8865\u5145\u5305 \u6781\u5de8\u4e89\u950b \u7130", "name": "\u6781\u5de8\u4e89\u950b \u7130",
"set_id": "CS1bC", "set_id": "CS1bC",
"symbol": "CS1bC", "symbol": "CS1bC",
"release_date": "2023-05-19", "release_date": "2023-05-19",
@ -120305,7 +120305,7 @@
"cards_num": 199 "cards_num": 199
}, },
{ {
"name": "\u8865\u5145\u5305 \u6781\u5de8\u4e89\u950b \u96f7", "name": "\u6781\u5de8\u4e89\u950b \u96f7",
"set_id": "CS1aC", "set_id": "CS1aC",
"symbol": "CS1aC", "symbol": "CS1aC",
"release_date": "2023-05-19", "release_date": "2023-05-19",
@ -130199,7 +130199,7 @@
"cards_num": 217 "cards_num": 217
}, },
{ {
"name": "\u5f3a\u5316\u5305 \u6781\u5de8\u653b\u9632", "name": "\u6781\u5de8\u653b\u9632",
"set_id": "CS1.5C", "set_id": "CS1.5C",
"symbol": "CS1.5C", "symbol": "CS1.5C",
"release_date": "2023-06-28", "release_date": "2023-06-28",
@ -134166,7 +134166,7 @@
"cards_num": 96 "cards_num": 96
}, },
{ {
"name": "\u8865\u5145\u5305 \u6d53\u58a8\u91cd\u5f69 \u975b", "name": "\u6d53\u58a8\u91cd\u5f69 \u975b",
"set_id": "CS2bC", "set_id": "CS2bC",
"symbol": "CS2bC", "symbol": "CS2bC",
"release_date": "2023-08-18", "release_date": "2023-08-18",
@ -140632,7 +140632,7 @@
"cards_num": 143 "cards_num": 143
}, },
{ {
"name": "\u8865\u5145\u5305 \u6d53\u58a8\u91cd\u5f69 \u9ece", "name": "\u6d53\u58a8\u91cd\u5f69 \u9ece",
"set_id": "CS2aC", "set_id": "CS2aC",
"symbol": "CS2aC", "symbol": "CS2aC",
"release_date": "2023-08-18", "release_date": "2023-08-18",

File diff suppressed because one or more lines are too long

@ -385,6 +385,10 @@ def main():
if k == 'SMP': if k == 'SMP':
# PROMO has overlap cards # PROMO has overlap cards
database[k].cards = [c for c in database[k].cards if c.collection_attr.card_no is not None] database[k].cards = [c for c in database[k].cards if c.collection_attr.card_no is not None]
if v.name.find('强化包') != -1:
database[k].name = database[k].name[4:]
if v.name.find('补充包') != -1:
database[k].name = database[k].name[4:]
database[k].cards = sorted(database[k].cards, key=sort_cards_by_card_no) database[k].cards = sorted(database[k].cards, key=sort_cards_by_card_no)
# Fix error # Fix error

Loading…
Cancel
Save