import * as cueshit from "https://deno.land/x/cueshit@v0.7.2/format/youtube_description.ts";
YouTube description which contains chapters with timestamps.
Each line which starts with a timestamp is treated as a chapter. The remainder of such a line is treated as title of the chapter.
Lines which do not start with a timestamp will be skipped.
00:00 Intro
12:56 Test Title
1:04:17 Credits
Variables
Formats a chapter line for a YouTube description. | |
Parses a YouTube description which contains lines with timestamps. |