diff options
| -rw-r--r-- | src/lib/Data/Manga/raw.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Data/Manga/raw.ts b/src/lib/Data/Manga/raw.ts index a09fa17f..c570474d 100644 --- a/src/lib/Data/Manga/raw.ts +++ b/src/lib/Data/Manga/raw.ts @@ -1,6 +1,8 @@ +import proxy from '$lib/Utility/proxy'; + export const getChapterCount = async (nativeTitle: string): Promise<number | undefined> => { const html = new DOMParser().parseFromString( - await (await fetch(`https://rawkuma.com/?s=${encodeURIComponent(nativeTitle)}`)).text(), + await (await fetch(proxy(`https://rawkuma.com/?s=${encodeURIComponent(nativeTitle)}`))).text(), 'text/html' ); const listContent = html.querySelector('.listupd'); |