aboutsummaryrefslogtreecommitdiffstats
path: root/news_feed.py
diff options
context:
space:
mode:
Diffstat (limited to 'news_feed.py')
-rw-r--r--news_feed.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/news_feed.py b/news_feed.py
index 766d77b..c6df924 100644
--- a/news_feed.py
+++ b/news_feed.py
@@ -33,6 +33,7 @@ import bandai_namco.taiko as taiko
import community.disc as disc
import community.wacca_plus.wacca_plus as wac_plus
import community.museca_plus as mus_plus
+import community.rbdx as rbdx
import constants
import translate
@@ -149,6 +150,10 @@ def get_news(news_url: str, version=None) -> list:
site_data = download_site_as_html(news_url)
news_posts = sorted(mus_plus.parse_museca_plus_news_site(site_data), key=lambda x: x['timestamp'], reverse=True)
+ elif news_url == constants.RB_DELUXE_PLUS_NEWS:
+ site_data = download_site_as_html(news_url)
+ news_posts = rbdx.get_carousel_posts(site_data)
+
else:
news_posts = []
return news_posts
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage