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

Commit

Permalink
Fix - Incorrect youtube video URL
Browse files Browse the repository at this point in the history
assume other video sites in error exp
  • Loading branch information
przemyslawpluta committed Feb 12, 2014
1 parent 04f4aaa commit 753ae6b
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 @@ -56,7 +56,7 @@ exports.download = function(urladdr, dest, args) {
}

if (!id) {
throw new TypeError('Incorrect youtube video URL');
throw new TypeError('Incorrect video URL');
}

var speed = [];
Expand Down

0 comments on commit 753ae6b

Please sign in to comment.