Hacked together a bash script.You'll need git, wget and unzip installed.
https://pastebin.com/u7cCxmxe