youtube-subtitle
usage:
git clone <..>
yarn install
yarn run example
# copy and run the dist bundle file in the devtool console.
output:
- CC subtitle, if possible;
- auto-generated srt, with information on the accuracy of each word.
workflow:
- parse DOM: XML string => timedtext XML
- transform AST: timedtext XML => JSON object
- generate string: JSON object => multi-format subtitle (ass, srt...)
todos:
- generate to ass
- integrate to web UI interface