fix: filter apple garbadge sended by myfreemp3
This commit is contained in:
parent
fb7d1b6398
commit
b726646ea8
3
index.js
3
index.js
|
@ -64,7 +64,8 @@ async function searchOnMyFreeMp3(query){
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
.then(res => res.text())
|
.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){
|
function matchScore(spotifyMetas, vkmusicMetas){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user