By looking at the book online, you already (unwillingly and unknowingly) downloaded the pages to your computer, the only difference is that you have to keep the browser open, stay logged in and have internet connectivity to read it. I see no moral concerns with taking the data that's already on your computer and saving it in a more accessible way.
Open Chrome and devtools, then visit the book's online reading page and click "Borrow for 1 hour".
In the network tab, click XHR and copy the response of BookReaderJISA.php?...
and save it as data
in the console.
Then, run:
data.data.brOptions.data.forEach((first, firstI) => {