this post was submitted on 17 Dec 2023
430 points (95.9% liked)
Technology
60009 readers
3806 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Epub to text is very easy and Pandoc can do it. I end up using lynx -dump because that's faster though.
Technically, epub is basically a wepage and thus everything but easy.
You could just strip out the content with a big regex. Surely nothing could go wrong with ̴̬̮̳͔̬̹͖̩͍̄̈̓̀͋̀̎̊̈́̑͛͊̕t̶̘͇̺̠̗̓̿̆̓͋͗́͑͆̈́̈́͊̉̈̍̚ͅḥ̷̡̛͓̹͕̞͎̃͂̽͠ͅã̸͈̟̩̫̪̣̳̜̑̈́̓͗͘t̴̡̮̹͌́̄̔̂́̒͑͘.
You can unzip an epub and find out. Ive done it a couple of times to remove some images from books.
unzip book.epub
Last time someone told me I could find out if I would just unzip it didn’t go so well…