Created
April 24, 2019 18:21
-
-
Save intuited/0200dcbba5ae86a7017da3cf1e921047 to your computer and use it in GitHub Desktop.
Bookmarklet to scrape card names from EDHREC. For nefarious purposes only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
els = document.getElementsByClassName("nwname"); | |
a = Array.from(els); | |
strings = a.map(x => x.innerText.split(' // ')[0]); | |
console.log(strings.join('\n')); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment