diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2017-09-23 02:30:03 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2017-09-23 02:30:03 +0800 |
commit | 8c2895305dc09920055611c8120f5a65fcd2614f (patch) | |
tree | 4dca59b87893607514e1502b59e3a09bd90443c6 /youtube_dl/__init__.py | |
parent | 8c6919e4331e1cd44f50e700e8fc4e630d913a2f (diff) |
[options] Accept lrc as a subtitle conversion target format (closes #14292)
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r-- | youtube_dl/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index c4589411e..ba684a075 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -206,7 +206,7 @@ def _real_main(argv=None): if opts.recodevideo not in ['mp4', 'flv', 'webm', 'ogg', 'mkv', 'avi']: parser.error('invalid video recode format specified') if opts.convertsubtitles is not None: - if opts.convertsubtitles not in ['srt', 'vtt', 'ass']: + if opts.convertsubtitles not in ['srt', 'vtt', 'ass', 'lrc']: parser.error('invalid subtitle format specified') if opts.date is not None: |