diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-03-10 01:36:22 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-03-10 01:36:54 -0700 |
| commit | d507ab9fbcb384e57a12259792c0da2026234eab (patch) | |
| tree | 228d68147f8ac0456efa0110a9b1c5ddd6d588d8 | |
| parent | b9883f10900c0c6c6a34145dad2c371b575e8a71 (diff) | |
chore: fix some naming
| -rw-r--r-- | chuni/aquadx/chuni_aquadx_to_tachi.py | 4 | ||||
| -rw-r--r-- | mai2/aquadx/mai_aquadx_to_tachi.py | 4 | ||||
| -rw-r--r-- | ongeki/aquadx/ongeki_aquadx_to_tachi.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/chuni/aquadx/chuni_aquadx_to_tachi.py b/chuni/aquadx/chuni_aquadx_to_tachi.py index 36981f5..3046277 100644 --- a/chuni/aquadx/chuni_aquadx_to_tachi.py +++ b/chuni/aquadx/chuni_aquadx_to_tachi.py @@ -10,7 +10,7 @@ DIFFICULTY_MAPPING = { 5: "WORLD'S END", } -def convert_chuni_aquadx_json_to_tachi_json(input_json: str, output_file: str, service: str): +def convert_from_aquadx_json_to_tachi_json(input_json: str, output_file: str, service: str): with open(input_json, "r", encoding="utf-8") as f: raw_data = json.load(f) @@ -102,4 +102,4 @@ if __name__ == "__main__": "-o", "--output", help="Output filename", default="aquadx_chuni_tachi.json" ) args = parser.parse_args() - convert_chuni_aquadx_json_to_tachi_json(args.input_file, args.output, args.service) + convert_from_aquadx_json_to_tachi_json(args.input_file, args.output, args.service) diff --git a/mai2/aquadx/mai_aquadx_to_tachi.py b/mai2/aquadx/mai_aquadx_to_tachi.py index cdbad4e..deb5262 100644 --- a/mai2/aquadx/mai_aquadx_to_tachi.py +++ b/mai2/aquadx/mai_aquadx_to_tachi.py @@ -16,7 +16,7 @@ headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" } -def convert_chuni_aquadx_json_to_tachi_json(input_json: str, output_file: str, service: str, music_json: str): +def convert_from_aquadx_json_to_tachi_json(input_json: str, output_file: str, service: str, music_json: str): if music_json == "online": req = urllib.request.Request(MAI2_AQUADX_JSON, headers=headers) with urllib.request.urlopen(req) as response: @@ -119,4 +119,4 @@ if __name__ == "__main__": ) parser.add_argument("--music", "--music-file", help="JSON file containing the mappings of song names to IDs. Check README for moe info", default="online") args = parser.parse_args() - convert_chuni_aquadx_json_to_tachi_json(args.input_file, args.output, args.service, args.music) + convert_from_aquadx_json_to_tachi_json(args.input_file, args.output, args.service, args.music) diff --git a/ongeki/aquadx/ongeki_aquadx_to_tachi.py b/ongeki/aquadx/ongeki_aquadx_to_tachi.py index 8feee7f..70d7c19 100644 --- a/ongeki/aquadx/ongeki_aquadx_to_tachi.py +++ b/ongeki/aquadx/ongeki_aquadx_to_tachi.py @@ -16,7 +16,7 @@ headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" } -def convert_chuni_aquadx_json_to_tachi_json(input_json: str, output_file: str, service: str, music_json: str): +def convert_from_aquadx_json_to_tachi_json(input_json: str, output_file: str, service: str, music_json: str): if music_json == "online": req = urllib.request.Request(ONGEKI_AQUADX_JSON, headers=headers) with urllib.request.urlopen(req) as response: @@ -124,4 +124,4 @@ if __name__ == "__main__": ) parser.add_argument("--music", "--music-file", help="JSON file containing the mappings of song names to IDs. Check README for moe info", default="online") args = parser.parse_args() - convert_chuni_aquadx_json_to_tachi_json(args.input_file, args.output, args.service, args.music) + convert_from_aquadx_json_to_tachi_json(args.input_file, args.output, args.service, args.music) |
