Update: Since a while, youtube-dl isn’t as powerful as it is. Fortunatelly another fork exists : yt-dlp . Use this instead

Youtube recently got this “chapter” concept where it fragment a long video with chapters. I think this data might be parsed from the description of the video done, as they already parse any timestamp available for a while now.

Thanks to youtube-dl, we can download thena video and the metadata which now contains this chapter data.