Here's the script: https://gist.github.com/akenn/7ca7e99a51c3a4abc049
Speaking of, what software did this guy use? Is there a bash script that's better than what I wrote?
https://gist.github.com/bertjwregeer/12ae691e5c285f334a36
No need to use Node.