Maybe clone the git repository and convert it into the form you want: https://github.com/Immortal-Protocols/lastbook