Last active
July 2, 2018 16:54
-
-
Save bencooper222/f97be23a7728dbae2775b5f08ac5baff to your computer and use it in GitHub Desktop.
Run this code on champion.gg's "current patch statistics" page to get the top champions by win and play rate rn (i.e. the best champs to ban). See example: https://www.useloom.com/share/a7f0773a37004827adacc264d80521d0
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
console.log("Go to https://raw.githubusercontent.com/bencooper222/championgg-power-parser/master/main.prod.js for the latest version") |
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
console.log("Go to https://raw.githubusercontent.com/bencooper222/championgg-power-parser/master/main.prod.js for the latest version") |
This opens a window that probably has a 414 (URI too long) error on it. I'm working on fixing that but ignore it in the meantime.
EDIT: temporarily fixed with just a simple top 10
I break the console
object at the end of the script because the site has a lot of superfluous logging that can push the rankings out of view. Not a fan.
Moved to proper github repo so I could include a hash to monitor changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minified is transpiled to ES5 then uglified using the incredibly advanced process of copying and pasting to Babel's online sandbox and doing the same with this uglifier. The transpilation to ES5 is done because there aren't really any ES6+ uglifiers.