Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dont override quality option

  • Loading branch information...
commit 189f2400c8db3582bca2164d9eb66d3ae0086e9d 1 parent 9e3c678
@fent authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/index.js
View
2  lib/index.js
@@ -36,7 +36,7 @@ function ytdl(link, options) {
var stream = streamify({ superCtor: http.ClientResponse });
options = options || {};
- options.quality = 'highest';
+ options.quality = options.quality || 'highest';
if (cache.exists(id)) {
var info = cache.get(id);
Please sign in to comment.
Something went wrong with that request. Please try again.