Skip to content

Instantly share code, notes, and snippets.

@sklivvz
Created March 31, 2018 11:47
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 sklivvz/014287826020a21569478851c9dd1438 to your computer and use it in GitHub Desktop.
Save sklivvz/014287826020a21569478851c9dd1438 to your computer and use it in GitHub Desktop.
scrape talent ids from http://www.wowhead.com/talents
// scrape talent ids from http://www.wowhead.com/talents
copy(Array.from(document.getElementsByClassName("listview-cleartext")).map((x)=>{return{name: x.innerText, id:x.getAttribute("href").split("=")[1]}}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment