aboutsummaryrefslogtreecommitdiffstats
path: root/news_feed.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-03-22 23:53:34 -0700
committerPinapelz <yukais@pinapelz.com>2026-03-23 00:17:55 -0700
commit5e31d2870f07085e4c837a17572a3e9eedb6df26 (patch)
tree3b97c5f1b0c139deb0bc4091595f085d754b14bd /news_feed.py
parent8f859e4786a02fea69ec086814d4f667f2f01d5d (diff)
Rename SDVX parser to parse_nabla_news_site
Replace parse_exceed_gear_news_site with parse_nabla_news_site and update imports and callers in __init__.py and news_feed.py
Diffstat (limited to 'news_feed.py')
-rw-r--r--news_feed.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/news_feed.py b/news_feed.py
index 1bcb240..3dd1d61 100644
--- a/news_feed.py
+++ b/news_feed.py
@@ -51,9 +51,9 @@ def _attach_llm_summaries(news_posts: list, game_name: str):
@registry.register(constants.SOUND_VOLTEX_NABLA_NEWS_SITE)
class SoundVoltexSource(NewsSource):
def fetch(self, version=None) -> list[dict]:
- from bemani.sdvx import parse_exceed_gear_news_site
+ from bemani.sdvx import parse_nabla_news_site
site_data = download_site_as_html(constants.SOUND_VOLTEX_NABLA_NEWS_SITE)
- news_posts = sorted(parse_exceed_gear_news_site(site_data), key=lambda x: x['timestamp'], reverse=True)
+ news_posts = sorted(parse_nabla_news_site(site_data), key=lambda x: x['timestamp'], reverse=True)
return translate.add_translate_text_to_en(news_posts, overrides=[("ボルテ", "SDVX")])
# Can't find a Polaris feed on EAM app so this is here instead
@@ -300,7 +300,7 @@ class WanganMaxiSource(NewsSource):
@registry.register(constants.WACCA_PLUS_MAGIC_STRING)
class WaccaPlusSource(NewsSource):
def fetch(self, version=None) -> list[dict]:
- from community.wacca_plus.wacca_plus import parse_announcement_messages, check_is_generation_possible
+ from community.wacca_plus import parse_announcement_messages, check_is_generation_possible
from community.disc import fetch_messages
if not check_is_generation_possible():
return []
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage