From 7b93b8587d93d8f86ac8d8e25c589bba02c20476 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 14 Apr 2025 02:47:08 -0700 Subject: fix: maimaidx prism plus identifier --- sega/maimaidx_jp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sega/maimaidx_jp.py b/sega/maimaidx_jp.py index 5a88ef1..e098b37 100644 --- a/sega/maimaidx_jp.py +++ b/sega/maimaidx_jp.py @@ -30,10 +30,9 @@ def parse_maimaidx_jp_prism_plus_news_site(html: str): headline_tag = box.select_one(".newsLink") headline = headline_tag.get_text(strip=True) if headline_tag else None content = box.get_text(separator="\n", strip=True) - identifier = re.sub(r"\W+", "-", headline.lower()) if headline else "unknown" news_items.append({ "date": raw_date, - "identifier": identifier, + "identifier": "MAIMAIDX_JPN_PRISM_PLUS", "type": None, "timestamp": timestamp, "headline": headline, -- cgit v1.2.3