Skip to content

Instantly share code, notes, and snippets.

@danabrey
Created February 12, 2019 22:14
Show Gist options
  • Save danabrey/4ccf29c6f76e7df0f6ba89642e7ad933 to your computer and use it in GitHub Desktop.
Save danabrey/4ccf29c6f76e7df0f6ba89642e7ad933 to your computer and use it in GitHub Desktop.
Extract player names from an ESPN website roster page
$('.player-column__bio .link').map((i, e) => $(e).text()).get().filter((e) => e.length > 0).join('\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment