You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,13 @@ The SDK has three layers, all wired around a single `HttpClient`:
30
30
31
31
-`AnimeParadiseProvider`: `api.animeparadise.moe` REST. `/anime/{id}/episode` for the list (sub only). `/ep/{uid}?origin={animeId}` returns the playable HLS link **and**`subData`, which `normalizeSubtitleEntries` (in `utils/subtitles.ts`) turns into VTT-only `ISubtitleTrack[]`. Implements `fetchUnitTracks` cheaply (just `/ep`, no stream URL resolution).
32
32
-`AllmangaProvider`: AllAnime GraphQL → AES-CTR-decrypted `tobeparsed` payload → `Mp4UploadExtractor`, with a `clock.json` fallback for wixmp/sharepoint sources. Source URLs are obfuscated with a `--<hex>` scheme XOR'd with `0x38`; see `decodeAllAnimeSource`. `fetchContentUnits` merges `availableEpisodesDetail.sub` + `.dub` + `.raw` into a single language-agnostic list; unit IDs are `${mediaId}/${epStr}` (legacy `${mediaId}/${epStr}/${lang}` IDs still resolve).
33
+
-`AnikotoProvider`: HTML scrape of `anikototv.to`; uses `anikotoapi.site` for episodes, then delegates to MegaPlay embed for stream/subtitles.
33
34
-`GogoanimeProvider`: HTML scrape of `anineko.to`; vibeplayer embed → `master.m3u8` via `GenericHlsExtractor`.
34
35
-`GoyabuProvider`: pulls a Blogger token from `playersData`, calls Google `batchexecute` to recover the `googlevideo.com` URL via `BloggerExtractor`.
35
36
-`MangadexProvider`: Official JSON API at `api.mangadex.org` for high-quality manga.
36
-
-`WeebcentralProvider`: HTML scrape of `weebcentral.com` for manga.
37
37
-`MangapillProvider`: HTML scrape of `mangapill.com` for manga.
38
+
-`MegaPlayProvider`: AniList GraphQL for search/episodes; resolves directly against MegaPlay's mapping endpoints.
39
+
-`WeebcentralProvider`: HTML scrape of `weebcentral.com` for manga.
38
40
39
41
All public surface is re-exported from `src/index.ts`, including the shared subtitle utilities (`normalizeSubtitleEntries`, `proxifySubtitleUrl`).
Copy file name to clipboardExpand all lines: website/src/layouts/Layout.astro
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ interface Props {
9
9
}
10
10
11
11
const {
12
-
title ='anime-sdk: Typescript SDK for building anime apps',
13
-
description ='Typescript SDK for building anime apps.',
12
+
title ='anime-sdk: Typescript SDK for building anime apps.',
13
+
description =' A TypeScript library for resolving anime streams and manga pages across 9 providers. Use it as a Node module, run the built-in HTTP server, or download episodes and chapters to disk.',
0 commit comments