Skip to content

scripts for creating an ebook of the web novel Mother of Learning (and azw3/epub on the reseases)

Notifications You must be signed in to change notification settings

asdkant/bookify-mol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bookify-mol

These are scripts for creating an ebook of the web novel Mother of Learning by nobody103 (Domagoj Kurmaic). To run this you need Linux (I run Arch Linux) or something fairly similar -- I guess it would work in OSX, it'll probably work in cygwin environments like mobaXterm or Babun and most certainly will work on WSL (the ubuntu-on-win10 thing).

The output is intended for use as an input file on Calibre, which will create an ebook file in whatever format you like. You'll probably want to tune the conversion so that it adds <h1> and <h2> header tags to the book's table of contents. I update dl.sh when a new chapter is released and upload a release, if you just want the ebook it's easier to grab that.

You can find a list of the Reddit discussion threads related to the novel on this reddit post (most are from r/noveltranslations and r/rational)

This is published with permission of the novel's author, the repository will be taken down if that permission is ever rescinded.

Requirements / stuff used by these scripts

  • bash
  • standard linux userland tools:
    • sed
    • tr
  • curl (you may need to install this one)
  • python 2 (chapextract.py calls /usr/bin/python2, check if your python 2 binary is somewhere else)
  • uses python 2 libs:
    • bs4 (also known as "beautiful soup", you may need to install this one)
    • sys
    • locale
    • unicodedata
    • re

Files included

  • dl.sh downloads the chapters (I'll update it once in a while to get the newer stuff, check before using just in case)
  • chapextract.py converts each chapter's raw HTML into a nice and clean chunk of HTML
  • build.sh gets outputs everything together in a single file

Instructions

bash dl.sh
bash build.sh

About

scripts for creating an ebook of the web novel Mother of Learning (and azw3/epub on the reseases)

Resources

Stars

Watchers

Forks

Packages

No packages published