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

Commit

Permalink
skip error is video has been removed by the user
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslawpluta committed Apr 22, 2016
1 parent 956056b commit 5e94b13
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 @@ -23,7 +23,7 @@ if (!fs.existsSync(ytdlBinary)) {
var isDebug = /^\[debug\] /;
var isWarning = /^WARNING: /;
var isYouTubeRegex = /^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.be)\//;
var isNoSubsRegex = /WARNING: video doesn't have subtitles|no closed captions found/;
var isNoSubsRegex = /WARNING: video doesn't have subtitles|no closed captions found|Please sign in to view this video/;
var videoNotAvailable = /This video is not available|This video has been removed by the user/;
var subsRegex = /--write-sub|--write-srt|--srt-lang|--all-subs/;

Expand Down

0 comments on commit 5e94b13

Please sign in to comment.