Created
December 3, 2020 09:26
-
-
Save anova/fded8ba535d7a77d0e804a6f552aa068 to your computer and use it in GitHub Desktop.
Extract table text into nested arrays.
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.querySelector('table').querySelectorAll('tr')].map(tr => [...tr.querySelectorAll('td')].map(td => td.innerText)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment