diff --git a/index.js b/index.js index 62034b4..4be8f32 100644 --- a/index.js +++ b/index.js @@ -64,7 +64,8 @@ async function searchOnMyFreeMp3(query){ }), }) .then(res => res.text()) - .then(jsonp => vm.runInNewContext(jsonp, { callback: (payload) => payload.response })); + .then(jsonp => vm.runInNewContext(jsonp, { callback: (payload) => payload.response })) + .then(items => _.filter(items, _.isString)); } function matchScore(spotifyMetas, vkmusicMetas){