A feature-rich command-line audio/video downloader
Allow recoding the video to mkv
Jaime Marquínez Ferrándizb7d73595dc20
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.pyindex 74b43b41db..7ed8d19703 100644--- a/youtube_dl/__init__.py+++ b/youtube_dl/__init__.py@@ -678,7 +678,7 @@ def _real_main(argv=None):if not opts.audioquality.isdigit():parser.error(u'invalid audio quality specified')if opts.recodevideo is not None:- if opts.recodevideo not in ['mp4', 'flv', 'webm', 'ogg']:+ if opts.recodevideo not in ['mp4', 'flv', 'webm', 'ogg', 'mkv']:parser.error(u'invalid video recode format specified')if opts.date is not None:date = DateRange.day(opts.date)