aboutsummaryrefslogtreecommitdiffstats
path: root/news_feed.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-04-14 01:37:42 -0700
committerPinapelz <yukais@pinapelz.com>2025-04-14 01:37:42 -0700
commit147c36d207ca74e876b6b4703fd3f57f3ab57e56 (patch)
tree390e870a126623a56d770337b376184fa6776681 /news_feed.py
parentf5b53cde00aad3cc7dd3618a14fbfb9f622f106f (diff)
seperate CHUNITHM_NEWS to regions INTL and JP
Diffstat (limited to 'news_feed.py')
-rw-r--r--news_feed.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/news_feed.py b/news_feed.py
index 1a04e6c..8bd1179 100644
--- a/news_feed.py
+++ b/news_feed.py
@@ -30,9 +30,11 @@ def get_news(news_url: str, version=None) -> list:
news_posts = sorted(sound_voltex.parse_exceed_gear_news_site(site_data, constants.EAMUSEMENT_BASE_URL), key=lambda x: x['timestamp'], reverse=True)
elif news_url == constants.IIDX_PINKY_CRUSH_NEWS_SITE:
news_posts = sorted(iidx.parse_pinky_crush_news_site(site_data, constants.EAMUSEMENT_BASE_URL), key=lambda x: x['timestamp'], reverse=True)
- elif news_url == constants.CHUNITHM_NEWS_SITE:
+ elif news_url == constants.CHUNITHM_JP_NEWS_SITE:
if version == constants.CHUNITHM_VERSION.VERSE:
news_posts = sorted(chunithm_jp.parse_chuni_jp_verse_news_site(site_data), key=lambda x: x['timestamp'], reverse=True)
+ elif news_url == constants.MAIMAIDX_NEWS_SITE:
+ pass
else:
news_posts = []
scraper.close()
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage