Skip to content

Instantly share code, notes, and snippets.

@omphalos
Created December 21, 2014 15:13
Show Gist options
  • Save omphalos/316e94d13b4567be9096 to your computer and use it in GitHub Desktop.
Save omphalos/316e94d13b4567be9096 to your computer and use it in GitHub Desktop.
GameKnot chess scraper
var trs = [].slice.call(document.querySelectorAll('tr[itemprop]'))
trs.map(function(tr) { return +tr.id.substring(6) }).join()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment