A Tampermonkey script that replaces the anime dropdown on AnimeMusicQuiz.com with Japanese titles instead of Romaji.
If you just want to use the script:
- Install Tampermonkey browser extension
- Click this link to install the script: amqJapaneseDropDown.user.js
- Go to animemusicquiz.com
- Reload the page and the dropdown should now display Japanese titles
If you want to update the dropdown with the latest anime data, follow these steps:
- Install Tampermonkey
- Install the extraction script: amqListExtract.user.js
- Go to animemusicquiz.com
- Run the command
/getMasterin the chat - This will download the
amqMaster.jsonfile
Create a folder and place the following files in it:
amqMaster.json(from Step 1)extract.pyscrap.pyclean.py
python extract.pyThis will create titles.json with the format:
{
"1": "Seihou Tenshi Angel Links",
"2": "Kakugo no Susume",
"3": "Nasu: Andalusia no Natsu",
"4": "Kagaku Ninja-tai Gatchaman"
}python scrap.pyThis script queries the Anime News Network API for each anime ID in titles.json to retrieve Japanese titles. It creates/updates allTitles.json.
Advanced Usage:
python scrap.py <starting_id> -u<starting_id>: Skip all anime IDs before this number (e.g.,1000will start from ID 1000)-u: Update mode - only fetches missing IDs without overwriting existing data. Without this flag, the file will be completely recreated from scratch
Example:
python scrap.py 1000 -uThe resulting allTitles.json format:
{
"1": {
"romaji": "Seihou Tenshi Angel Links",
"japanese": "星方天使エンジェルリンクス"
},
"2": {
"romaji": "Kakugo no Susume",
"japanese": "覚悟のススメ"
},
"3": {
"romaji": "Nasu: Andalusia no Natsu",
"japanese": "茄子 アンダルシアの夏"
}
}python clean.pyThis creates newDropDown.json by:
- Removing duplicate entries (same Romaji and Japanese titles)
- For anime with identical Japanese titles but different Romaji names, it identifies the unique parts and appends them to the Japanese title for differentiation
- Upload your
newDropDown.jsonto your GitHub repository - Edit line 18 in
amqJapaneseDropDown.user.js:
const JSON_URL = 'https://raw.githubusercontent.com/YOUR_USERNAME/amqJP/main/newDropDown.json';- Reload your AMQ page to see the updated dropdown
amqJP/
├── newDropDown.json
├── python/
│ ├── clean.py
│ ├── extract.py
│ └── scrap.py
└── scripts/
├── amqJapaneseDropDown.user.js
└── amqListExtract.user.js
Feel free to fork this repository, improve the scripts, or adapt them for your own use. Contributions and updates are welcome.