>>/4127/
I think I tried using that, but couldn't get it to work.
I used BeautifulSoup in an ad hoc Python REPL session to download each chapter, extract (roughly) the part of the page that contained the chapter, look for a link that said something like "Next", follow that, and repeat. When I reached the end I concatenated it into worm.html, which I ran through ebook-convert to turn it into worm.pdf, worm.epub and worm.mobi.
It was not pretty.