feat: add Amvstrm as source for /episodes

Summary:

Test Plan:
This commit is contained in:
2024-05-26 13:22:03 -04:00
parent e91f92354c
commit b661b59078
7 changed files with 125 additions and 2 deletions

View File

@@ -57,6 +57,10 @@ app.openapi(route, async (c) => {
import("./consumet").then(({ getEpisodesFromConsumet }) =>
getEpisodesFromConsumet(aniListId),
),
() =>
import("./amvstrm").then(({ getEpisodesFromAmvstrm }) =>
getEpisodesFromAmvstrm(aniListId),
),
]);
if (!episodes) {