Skip to content

Instantly share code, notes, and snippets.

@fedekau
Created April 23, 2019 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fedekau/b7333980b7945acb6d789d07311ed661 to your computer and use it in GitHub Desktop.
Save fedekau/b7333980b7945acb6d789d07311ed661 to your computer and use it in GitHub Desktop.
"Parser" for meetup.com question answers
// meetup.com answer "parser"
const answers = Array.from(
document.querySelectorAll(".attendee-item-answers.padding--bottom-half")
);
const almostUniqueAnswers = [
...new Set(answers.map(e => e.textContent).map(s => s.toLowerCase()))
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment