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

Commit

Permalink
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
@@ -47,7 +47,7 @@ var ytdl = module.exports = function(url, args) {
return;
}

var item = (!data.length) ? data.url : data.shift();
var item = (!data.length) ? data : data.shift();

var req = request(item.url);
req.on('response', function(res) {

0 comments on commit 2647ed5

Please sign in to comment.