Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
handle new warning style
Browse files Browse the repository at this point in the history
fix if no cc are available - download anyway without cc
  • Loading branch information
przemyslawpluta committed Oct 23, 2014
1 parent f315043 commit 3ae2964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3ae2964

Please sign in to comment.