diff --git a/src/models/proxy.ts b/src/models/proxy.ts index 2525347f3..9a95953f3 100644 --- a/src/models/proxy.ts +++ b/src/models/proxy.ts @@ -37,7 +37,7 @@ export class Proxy { ...config.headers, 'x-api-key': proxyConfig?.key ?? '', }; - config.url = `${proxyConfig.url}/${config?.url ? config?.url : ''}`; + config.url = `${proxyConfig.url}${config?.url ? config?.url : ''}`; } if (config?.url?.includes('anify')) diff --git a/src/providers/meta/anilist.ts b/src/providers/meta/anilist.ts index 01727924f..371b746f4 100644 --- a/src/providers/meta/anilist.ts +++ b/src/providers/meta/anilist.ts @@ -1308,7 +1308,7 @@ class Anilist extends AnimeParser { try { const { data: { data, meta }, - } = await this.client.get(`${this.anifyUrl}/recent?page=${page}`); + } = await this.client.get(`${this.anifyUrl}/recent?page=${page}&type=anime`); let results: IAnimeInfo[] = data.map((item: any) => ({ id: item.anime.anilistId.toString(),