Files
yt-transcript-tools/ReadMe.md
T
2026-10-08 23:35:25 -06:00

31 lines
1.1 KiB
Markdown

# yt-transcript-tools
Getting transcripts into epub format.
[Download a transcript](https://www.youtube-transcript.io/),
place it in this directory, run `./convert_transcript.lua FILE`,
fill in author and link as requested, and you will have a usable
epub.
- If that website fails to select the correct language, you can
use https://tubetranscript.com/ and pass `--tube` as a 2nd
argument to use that output instead, but the quality will be
worse.
(I also use thumbnails as the "cover" by grabbing them [here](https://www.get-youtube-thumbnail.com/).)
**The file name will be set as the title.**
This is heavily WIP.
This will probably fail with videos longer than an hour because
the export will be different enough to fuck up the margin fix.
I am really frustrated because pandoc doesn't support plain text.
I went through many tests and iterations before coming to even
this minimal start and it was extremely frustrating.
## Tasks
- [x] I need an option / 2nd script to output a version with no
timecode formatting for easier text extraction.
- I made it actually just combine both in the same document,
easier to manage that way.