mirror of https://github.com/calzoneman/sync.git
Fix YT Search
This commit is contained in:
parent
9cd14f3bb3
commit
bc24e8d9dc
|
@ -589,7 +589,7 @@ Channel.prototype.search = function(query, callback) {
|
|||
if(query.trim() == "") {
|
||||
return;
|
||||
}
|
||||
this.server.infogetter.Getters["ytSearch"](query, function(err, vids) {
|
||||
this.server.infogetter.Getters["ytSearch"](query.split(" "), function(err, vids) {
|
||||
if(!err) {
|
||||
callback(vids);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue