Fix YouTube search
This commit is contained in:
parent
f8b0b06caf
commit
0b29aa5d0e
|
@ -447,8 +447,10 @@ Channel.prototype.search = function(query, callback) {
|
|||
if(query.trim() == "") {
|
||||
return;
|
||||
}
|
||||
InfoGetter.getYTSearchResults(query, function(vids) {
|
||||
InfoGetter.getYTSearchResults(query, function(err, vids) {
|
||||
if(!err) {
|
||||
callback(vids);
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue