Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 739 Bytes

File metadata and controls

37 lines (23 loc) · 739 Bytes

Convert YouTube Subtitle XML into srt

This program converts youtube subtitle XML file into srt file.

Usage

Specify subtitle XML file retrieved from YouTube as an input. This outputs SRT onto your display.

$ python main.py abcde.xml

You can specify output SRT filename with -o option. The output file is written with UTF-8 encoding.

$ python main.py -o abcde.srt abcde.xml

Limitation

Not fully tested.

Copyright, License

Copyright (c) 2017, Shigemi ISHIDA

This software is released under the BSD 3-clause license. See LICENSE.