aboutsummaryrefslogtreecommitdiffstats
path: root/generate.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-16 12:15:16 -0700
committerPinapelz <yukais@pinapelz.com>2025-10-16 12:15:16 -0700
commit686883a39c7fcc99fb376e315cd83d9ede9d7173 (patch)
treea4631a636f906df5fb2990893041db648d15db16 /generate.py
parente7276713a35b2dbc7a2b0ab197d18645c9e52a53 (diff)
migrate chunithm_intl to use api routes
allows for older news to also be added in page view
Diffstat (limited to 'generate.py')
-rw-r--r--generate.py6
1 files changed, 3 insertions, 3 deletions
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage