diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-10-16 12:31:46 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-10-16 12:31:46 -0700 |
| commit | 4dddacb59dc7569514f8bce1fad5b44026eca8a9 (patch) | |
| tree | 962dd71e6f4363689d7c22670139c6fa77c5cb21 /sega | |
| parent | f20ce5b048df35ddc208485d1f7708b15ac9e49a (diff) | |
fix: maimaidx_intl extra assets path
Diffstat (limited to 'sega')
| -rw-r--r-- | sega/maimaidx_intl.py | 4 |
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 = [{ |
