Last active
March 31, 2024 08:50
-
-
Save tyage/c90b5aaf6b3346f185e38621db9d46ed to your computer and use it in GitHub Desktop.
This file contains hidden or 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
meisai = [...document.querySelectorAll('#meisaiTable tbody tr')] | |
.filter(tr => tr.id === '') | |
.map(tr => [...tr.querySelectorAll('td')]) | |
.map(tds => { | |
const date = tds[1].textContent | |
const content = tds[2].textContent | |
const price = tds[7].textContent.replaceAll(/\s/gi, '') | |
return `${date}\t${content}\t\tクレジットカード:ANAゴールドカード\t${price}` | |
}) | |
.join('\n') | |
copy(meisai) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment