From 862ae8fcca88d87771cda554061c2424ed34fa1b Mon Sep 17 00:00:00 2001 From: xingc Date: Thu, 17 Apr 2025 17:57:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(card):=20=E4=BF=AE=E5=A4=8Dpsa=E7=9A=84grad?= =?UTF-8?q?e=E8=AF=84=E5=88=86=E6=8F=90=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/routers/card/scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/routers/card/scraper.py b/core/routers/card/scraper.py index a80fb07..90c8521 100644 --- a/core/routers/card/scraper.py +++ b/core/routers/card/scraper.py @@ -209,7 +209,7 @@ class CardScraper: # 卡片品牌 item['card_brand'] = info.get('brand') # 卡片评分 - card_grade = info.get('card_grade') or '' + card_grade = info.get('card_grade') or info.get('grade') or '' item['card_score'] = regx_match(r'(\d+)', card_grade, first=True) # 签字评分 auto_score = info.get('autograph_grade') or ''