aboutsummaryrefslogtreecommitdiffstats
path: root/news_feed.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-03-22 22:31:25 -0700
committerPinapelz <yukais@pinapelz.com>2026-03-22 22:31:25 -0700
commit20b9e084442a3790e2ad8f826ea2f8782ec1dfe2 (patch)
tree8eea690e362f57632d4a5e7703d9ceaa07705235 /news_feed.py
parent37e0a4e0ce5223800d02479a5119700c8daa45a6 (diff)
fix: remove bemani.iidx key terms
Diffstat (limited to 'news_feed.py')
-rw-r--r--news_feed.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/news_feed.py b/news_feed.py
index 9399b7a..cb76ba8 100644
--- a/news_feed.py
+++ b/news_feed.py
@@ -78,14 +78,13 @@ class PolarisChordSource(NewsSource):
class EamuseAppSource(NewsSource):
def fetch(self, version=None) -> list[dict]:
from konami.eamuse_app import parse_news_api_route
- from bemani.iidx import KEY_TERMS_TL
site_data = download_site_as_html(
constants.EAMUSE_APP_API_ROUTE + "/?uuid_to=" + version + "&format=json"
)
match version:
case constants.IIDX_EAMUSE_APP_ID:
news_posts = sorted(parse_news_api_route(site_data, "IIDX_EAMUSEMENT", constants.EAMUSE_POST_SITE), key=lambda x: x['timestamp'], reverse=True)
- return translate.add_translate_text_to_en(news_posts, KEY_TERMS_TL)
+ return translate.add_translate_text_to_en(news_posts)
case constants.DDR_EAMUSE_APP_ID:
news_posts = sorted(parse_news_api_route(site_data, "DDR_EAMUSEMENT", constants.EAMUSE_POST_SITE), key=lambda x: x['timestamp'], reverse=True)
return translate.add_translate_text_to_en(news_posts)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage