Importing from Donder Hiroba to Mirage
This repository contains the script to import from Donder Hiroba to Mirage
1. Setup the script
OPTION A - Executable File (Easy)
Coming soon...
OPTION B - From Source (Advanced)
- Install Python. Follow the instructions here if you need help.
- Download the import script
- Unzip and place all files in some folder
- Right click and open terminal (Powershell) in this newly created folder
- Run
Set-ExecutionPolicy Unrestricted -Scope Processto allow the execution of scripts - Create a virtual environment
python3 -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
2. Refresh Donder Hiroba and Get Token
- Login to Donder Hiroba
-
Scroll down and navigate to the Score Data page by clicking on スコアデータ 閲覧
-
Refresh your data by clicking on this icon:
on the top right corner
From here you need to get your token. There are 2 ways to do this
Option 1: Use Cookie-Editor Extension (Easy)
- Download the browser extension Cookie-Editor
- Click on the extension and click
_token_v2, then copy the Value there. That's it!
Option 2: Use Browser Network Tab (slightly more complicated)
- Right click the page and click Inspect/Inspect Elements
-
Click on the "Network" tab
-
Refresh the page
-
Now a bunch of requests will show up. In the Filter input, type in
rank_list. A single request should be left
-
Click on the row and then select the Cookies tab
- Copy the
_token_v2value shown there without the quotes
3. Running the Script
Go back to the terminal you had open in Part 1.
If you used the Source method (Option A), you can now finally export your scores by running
python3 taiko_donder_hiroba_export.py --token <YOUR_TOKEN_VALUE>
Option B.. Coming soon....
