Created
January 22, 2021 17:51
-
-
Save filiptronicek/7dc867f036248bd824e2076b9a9ce8fa to your computer and use it in GitHub Desktop.
Get all smileys from W3Schools
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
const nodes = document.querySelectorAll("html body div#belowtopnav.w3-main.w3-light-grey div.w3-row.w3-white div#main.w3-col.l10.m12 div.w3-responsive table.w3-table-all.charset-tryit tbody tr td:first-child") | |
const emojis = []; | |
for (const node of nodes) { | |
emojis.push(node.innerText) | |
} | |
console.log(JSON.stringify(emojis)) |
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
https://www.w3schools.com/charsets/ref_emoji_smileys.asp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment