Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Mar 4, 2024
1 parent a0837f4 commit 116b227
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/index/src/enime.adp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const enimeSearchAdapter = (data: any[] = []) => {
}

export function getSuo(content) {
if (!content) return "https://ae01.alicdn.com/kf/U6751d35799cc4d06965aa7b1879e0fc6i.jpg"
if (!content) return 'https://ae01.alicdn.com/kf/U6751d35799cc4d06965aa7b1879e0fc6i.jpg'
let m = content.match(/suo(.+?)\)/i)
return m ? m[1].slice(2) : 'https://cdn-us.imgs.moe/2023/02/27/63fcb180cbb30.jpg'
}
Expand Down Expand Up @@ -134,6 +134,7 @@ export const clicliAdapter = (item: any) => {
}
}

const blackList = [3421, 786]
const blackList = [3421, 786, 3880]

export const cliclisAdapter = (data: any[] = []) => data.filter(it => !blackList.includes(it.id)).map(clicliAdapter)
export const cliclisAdapter = (data: any[] = []) =>
data.filter((it) => !blackList.includes(it.id)).map(clicliAdapter)

0 comments on commit 116b227

Please sign in to comment.