From 3ae2964e1bc1a7b4b2245e2e95eac75f3bf95e2a Mon Sep 17 00:00:00 2001 From: Przemyslaw Pluta Date: Thu, 23 Oct 2014 22:36:51 +0100 Subject: [PATCH] handle new warning style fix if no cc are available - download anyway without cc --- lib/youtube-dl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/youtube-dl.js b/lib/youtube-dl.js index 42a950f..6dc508d 100644 --- a/lib/youtube-dl.js +++ b/lib/youtube-dl.js @@ -18,7 +18,7 @@ fs.exists(file, function(exists) { var isDebug = /[debug]/; var isYouTubeRegex = /^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.be)\//; -var isNoSubsRegex = /WARNING: video doesn't have subtitles/; +var isNoSubsRegex = /WARNING: video doesn't have subtitles|no closed captions found/; var subsRegex = /--write-sub|--write-srt|--srt-lang|--all-subs/; // Check if win.