aboutsummaryrefslogtreecommitdiffstats
path: root/sega
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-04-14 02:47:08 -0700
committerPinapelz <yukais@pinapelz.com>2025-04-14 02:47:08 -0700
commit7b93b8587d93d8f86ac8d8e25c589bba02c20476 (patch)
tree6fde363a0618d1ae86a8bdaab0e76818ee240d07 /sega
parentb69f801258ebdab1b8a067ae085480c1a32c5fb8 (diff)
fix: maimaidx prism plus identifier
Diffstat (limited to 'sega')
-rw-r--r--sega/maimaidx_jp.py3
1 files changed, 1 insertions, 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,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage