converts Youtube annotation file to SubRip file
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2012-11-07 20:57:47 +01:00
README.md rename README because of markdown usage 2012-11-07 20:57:47 +01:00
youtubeannotations2srt.sh renamed script file 2012-11-07 20:52:22 +01:00

Youtube Annotations to SubRip .srt file format

Usage

Download the read2.xml with the annotations in it from Youtube, for example with the help of a cache viewer plugin for your browser. Install XMLStarlet. It is used for parsing the annotations file.

Call the script with read2.xml as parameter: $ ./youtubeannotations2srt.sh read2.xml

The result should be a read2.srt in the same directory.

References

This script is originally from Shang-Feng Yang. It can be found on his website: http://sfyang-en.blogspot.de/2010/12/converting-youtubes-annotation-into-srt.html

I updated the script to make it work for my use case.