diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-14 02:47:08 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-14 02:47:08 -0700 |
| commit | 7b93b8587d93d8f86ac8d8e25c589bba02c20476 (patch) | |
| tree | 6fde363a0618d1ae86a8bdaab0e76818ee240d07 /sega | |
| parent | b69f801258ebdab1b8a067ae085480c1a32c5fb8 (diff) | |
fix: maimaidx prism plus identifier
Diffstat (limited to 'sega')
| -rw-r--r-- | sega/maimaidx_jp.py | 3 |
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, |
