This script is somewhat ridiculous. It takes a video and .vtt
subtitles file and converts it to an .epub file with images for each
subtitle. This makes it possible to "read" a TV episode on an E-Ink
tablet, for example.
I made this because I'm not good enough at listening to Japanese at
full speed. Now, I can "read the episode" first, then watch it later.
* I was encountering an issue where some Wallabag articles didn't have
all of their content. I overrode the fetch_embedded_article() code,
but I didn't really change anything and it worked. I commented the
"isinstance" line, and Wallabag articles do start with text with no
HTML tags ("Reading time: N minutes"), so maybe that was the fix?
* Added command-line tools to create an epub from the articles. See
https://github.com/makuto/typhon for a good app for reading these articles
* I included a secret key in the last commit, which is now revoked (so
don't get any ideas :D )
* The dictionary doesn't really work very well. I abandoned this once
I found Rikai-kun had deconjugators (etc.) that I'm not going to want
to re-implement, so I've moved to relying on their software instead
* I have been adding articles in Japanese to Wallabag for reading
practice. The Calibre rule filters out English articles so I can just
upload Japanese articles to my e-Reader (Onyx Boox Nova 2 running my
modified version of Typhon for dictionary)
It runs many times faster, though admittedly was more painful to
write.
I made a C++ version because I might want to have a full SFML
graphical frontend.