aboutsummaryrefslogtreecommitdiffstats
path: root/sega/maimaidx_intl.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-16 12:31:46 -0700
committerPinapelz <yukais@pinapelz.com>2025-10-16 12:31:46 -0700
commit4dddacb59dc7569514f8bce1fad5b44026eca8a9 (patch)
tree962dd71e6f4363689d7c22670139c6fa77c5cb21 /sega/maimaidx_intl.py
parentf20ce5b048df35ddc208485d1f7708b15ac9e49a (diff)
fix: maimaidx_intl extra assets path
Diffstat (limited to 'sega/maimaidx_intl.py')
-rw-r--r--sega/maimaidx_intl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sega/maimaidx_intl.py b/sega/maimaidx_intl.py
index 34eaa43..82fea6f 100644
--- a/sega/maimaidx_intl.py
+++ b/sega/maimaidx_intl.py
@@ -58,9 +58,9 @@ def parse_maimaidx_intl_api_route(raw_api_data: str, identifier: str, limit: int
date_str = ".".join([str(x) for x in date_data[:3]]) # YYYY.MM.DD
dt = datetime.strptime(date_str, "%Y.%m.%d").replace(tzinfo=timezone(timedelta(hours=9)))
timestamp = int(dt.timestamp())
- full_image_url = f"https://maimai.sega.com/assets/assets/img/download/pop/download/{date_data[0]}-{date_data[1]}-{date_data[2]}/{post_data['thumb']}"
+ full_image_url = f"https://maimai.sega.com/assets/img/download/pop/download/{date_data[0]}-{date_data[1]}-{date_data[2]}/{post_data['thumb']}"
if len(date_data) == 4:
- full_image_url = f"https://maimai.sega.com/assets/assets/img/download/pop/download/{date_data[0]}-{date_data[1]}-{date_data[2]}-{date_data[3]}/{post_data['thumb']}"
+ full_image_url = f"https://maimai.sega.com/assets/img/download/pop/download/{date_data[0]}-{date_data[1]}-{date_data[2]}-{date_data[3]}/{post_data['thumb']}"
content = post_data["desc"] + f"\n\nNew maimai DX International News / maimai DX International の新しいお知らせ\n\n{full_image_url}"
headline = post_data["title"]
images = [{
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage