-
Fetch book meta: https://www.safaribooksonline.com/api/v1/book/9780132808200/, and create a directory for that book using the book id:
9780132808200
-
Fetch all chapter meta. Get the chapters field from the book meta json, which looks like this:
"chapters": [
"https://www.safaribooksonline.com/api/v1/book/9780132808200/chapter/cover.html",