View Single Post
Old 09-02-2020, 12:05 PM   #5
playful
Mammal
playful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmos
 
playful's Avatar
 
Posts: 126
Karma: 21380
Join Date: Oct 2010
Location: Right Here
Device: Onyx Note Pro, Kindle DXG
Quote:
Originally Posted by KevinH View Post
It almost sounds like you are slurping up someone else's website, not your own.
Exactly. There's someone's writing that I like but I can't stand reading it on a computer screen. I wrote a bit of Python to download and clean the pages. It's for my own use, wouldn't think of distributing it.

Didn't realize that a simple curl command could iterate through the branches of a website and download all the leaves, I'd never used it like that. Thank you for the tip.

When you say to point it at the toc, let me see if I understand the process. Unzip the Epub, navigate to the toc.ncx folder. In that folder, run...
curl toc.ncx?
I guess I'll have to study the curl manual.

Thanks to both for the pointers.
playful is offline   Reply With Quote