diff options
| -rw-r--r-- | constants.py | 1 | ||||
| -rw-r--r-- | generate.py | 2 | ||||
| -rw-r--r-- | news_feed.py | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/constants.py b/constants.py index 06b752c..fbd869e 100644 --- a/constants.py +++ b/constants.py @@ -59,6 +59,7 @@ class MAIMAIDX_VERSION(Enum): PRISM_PLUS = 2 CIRCLE = 3 CIRCLE_PLUS = 4 + MAGICAL = 5 class ONGEKI_VERSION(Enum): REFRESH = 1 diff --git a/generate.py b/generate.py index 842d62c..c3d6744 100644 --- a/generate.py +++ b/generate.py @@ -212,7 +212,7 @@ def generate_chunithm_jp_news_file(): return news def generate_maimaidx_jp_news_file(): - news = generate_news_file("maimaidx_jp_news", constants.MAIMAIDX_JP_NEWS_SITE, constants.MAIMAIDX_VERSION.CIRCLE_PLUS) + news = generate_news_file("maimaidx_jp_news", constants.MAIMAIDX_JP_NEWS_SITE, constants.MAIMAIDX_VERSION.MAGICAL) attempt_broadcast_notifications(news, "New information for maimai DX (Japan ver.)", "maimaidx_jp") return news diff --git a/news_feed.py b/news_feed.py index e5e1c08..87ea903 100644 --- a/news_feed.py +++ b/news_feed.py @@ -170,6 +170,7 @@ class MaimaiDXJPSource(NewsSource): constants.MAIMAIDX_VERSION.PRISM_PLUS, constants.MAIMAIDX_VERSION.CIRCLE, constants.MAIMAIDX_VERSION.CIRCLE_PLUS, + constants.MAIMAIDX_VERSION.MAGICAL ]: return [] news_posts = sorted(parse_maimaidx_jp_news_site(site_data), key=lambda x: x['timestamp'], reverse=True) |
