From 686883a39c7fcc99fb376e315cd83d9ede9d7173 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 16 Oct 2025 12:15:16 -0700 Subject: migrate chunithm_intl to use api routes allows for older news to also be added in page view --- generate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'generate.py') diff --git a/generate.py b/generate.py index 83fce32..4fd5735 100644 --- a/generate.py +++ b/generate.py @@ -147,7 +147,7 @@ def generate_news_file(filename, url, version=None, formatted_name: str = None): # by the e-amusement app. Information is different def generate_iidx_news_file(eamuse_feed: bool=False): if eamuse_feed: - news = generate_news_file("iidx_news", constants.EAMUSE_APP_FEED, constants.IIDX_EAMUSE_APP_ID) + news = generate_news_file("iidx_news", constants.EAMUSE_APP_API_ROUTE, constants.IIDX_EAMUSE_APP_ID) else: # legacy should not be used, use eamuse app feed above news = generate_news_file("iidx_news", constants.IIDX_PINKY_CRUSH_NEWS_SITE) attempt_broadcast_notifications(news, "New information for beatmania IIDX", "iidx") @@ -217,12 +217,12 @@ def generate_ongeki_jp_news_file(): return news def generate_maimaidx_intl_news_file(): - news = generate_news_file("maimaidx_intl_news", constants.MAIMAIDX_INTL_NEWS_SITE, constants.MAIMAIDX_VERSION.PRISM_PLUS) + news = generate_news_file("maimaidx_intl_news", constants.MAIMAIDX_INTL_NEWS_SITE) attempt_broadcast_notifications(news, "New information for maimai DX (International ver.)", "maimaidx_intl") return news def generate_chunithm_intl_news_file(): - news = generate_news_file("chunithm_intl_news", constants.CHUNITHM_INTL_NEWS_SITE, constants.CHUNITHM_VERSION.VERSE) + news = generate_news_file("chunithm_intl_news", constants.CHUNITHM_INTL_NEWS_SITE) attempt_broadcast_notifications(news, "New information for CHUNITHM (International ver.)", "chunithm_intl") return news -- cgit v1.2.3