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 21, 2016
1 parent 22abe25 commit 956056b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ 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 videoNotAvailable = /This video is not available/;
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"video",
"download"
],
"version": "1.11.1",
"version": "1.11.2",
"repository": {
"type": "git",
"url": "git://github.com/fent/node-youtube-dl.git"
Expand Down

0 comments on commit 956056b

Please sign in to comment.