Skip to content

Instantly share code, notes, and snippets.

@alepez
Created November 16, 2018 11:01
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 alepez/d7020a39fbcb988bed76554a829a357d to your computer and use it in GitHub Desktop.
Save alepez/d7020a39fbcb988bed76554a829a357d to your computer and use it in GitHub Desktop.
extract csv from eventbrite
// When you don't have permissions to export to csv
$('#report-summary-popup table tr').map((i, e) => [$(e).find('td').map((i, e) => $(e).text().trim()).get()]).get().map(x => x.slice(1, x.length).join(',')).join('\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment