After announcing that all Goodreads API keys are revoked and no new API keys will be issued, it is time to move away. Without API access the migration has to be done by parsing HTML.
All code is in this Github repository: https://github.com/mfa/goodreads-to-orgmode
First step is to download all "My Books" pages. Set them to 100 books per page and download the HTML files. Put this files in the data folder. The convert.py script transfers this html files to one big Org-Mode file.
For example the Entry for "The God Engines" from Scalzi out of my library has this internal representation:
And the resulting Org-Mode block looks like:
After conversion I split Fiction from Non-Fiction books by creating new headlines and moving them around.
The rendering of the target markup is done via jinja2. For another target than Org-Mode change the template to something else.