aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-05-22 22:40:49 -0700
committerPinapelz <yukais@pinapelz.com>2025-05-23 20:44:52 -0700
commit62646d74f096498410aaf679edc4060b2681a5c9 (patch)
tree47314e90f927be0eb6222053f18b939f0462b3a3
parent35973b683c97ef9150107f8fd81910958ff7f57d (diff)
add wmmt to main feed
-rw-r--r--bandai_namco/taiko.py2
-rw-r--r--generate.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/bandai_namco/taiko.py b/bandai_namco/taiko.py
index a417a45..7a4afe7 100644
--- a/bandai_namco/taiko.py
+++ b/bandai_namco/taiko.py
@@ -19,7 +19,7 @@ def parse_taiko_blog_site(html: str) -> list:
date_obj = datetime.strptime(date_str, "%Y年%m月%d日")
timestamp = int(time.mktime(date_obj.timetuple()))
url_date = date_obj.strftime("%Y%m%d")
- url = base_url + "/?m="+url_date
+ url = base_url + "/blog/?m="+url_date
# Get headline
headline_tag = article.select_one("h1")
diff --git a/generate.py b/generate.py
index a554e8e..2cc27d1 100644
--- a/generate.py
+++ b/generate.py
@@ -188,7 +188,8 @@ if __name__ == "__main__":
museca_plus_news,
polaris_news_data,
dance_rush_news_data,
- dance_around_news_data
+ dance_around_news_data,
+ wmmt_news
)
log_output("Creating merged news.json file for all news that are within " + str(constants.DAYS_LIMIT) + " days old")
with open(OUTPUT_DIR+'/news.json', 'w') as json_file:
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage