-
-
Save BasixKOR/d030f5fd86b7e07a5f1b20b8ecdb5376 to your computer and use it in GitHub Desktop.
Azur Lane Wiki Parsing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...document.querySelectorAll('table.wikitable.col-7-center td[style="background-color:PowderBlue"]')] | |
.map(e => `'${e.textContent.slice(0, -1)}': { small: ${e.nextElementSibling.textContent.slice(0, -1)}, medium: ${e.nextElementSibling.nextElementSibling.textContent.slice(0, -1)}, ` | |
+ `large: ${e.nextElementSibling.nextElementSibling.nextElementSibling.textContent.slice(0, -1)}, boss: ${e.nextElementSibling.nextElementSibling.nextElementSibling.nextElementSibling.textContent.slice(0, -1)}}`) | |
// https://azurlane.koumakan.jp/Experience |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment