mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 05:41:34 +00:00
Update AudiobookCovers to improved search
This commit is contained in:
parent
295ca3d9a2
commit
66585c32d3
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ class AudiobookCovers {
|
|||
constructor() { }
|
||||
|
||||
async search(search) {
|
||||
const url = `https://api.audiobookcovers.com/cover/bytext/`
|
||||
const url = `https://api.audiobookcovers.com/cover/ai-search`
|
||||
const params = new URLSearchParams([['q', search]])
|
||||
const items = await axios.get(url, { params }).then((res) => {
|
||||
if (!res || !res.data) return []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue