mirror of
https://github.com/Shineii86/MiruroAPI.git
synced 2026-10-22 02:05:10 +00:00
feat: add direct embed providers (megavid, anixo) to bypass Cloudflare
- Added GET /api/embed/:anilistId/:episode — embed URLs for all providers - Added GET /api/embed/:anilistId/:episode/:provider — specific provider embed - Added GET /api/embed-providers — list all available embed providers - Embed providers return iframe-ready URLs, no scraping required - Supports sub/dub language selection and optional malId param - Updated OpenAPI spec with new embed endpoints - Updated health/stats to show 49 endpoints and embed providers - Added embed provider tests to test.js Cloudflare-protected pipe endpoints now have working alternatives: use /api/embed to get direct video URLs from megavid.buzz and anixo.buzz
This commit is contained in:
@@ -93,6 +93,12 @@ const tests = [
|
||||
{ name: "Genre Stats", url: "/stats/genre" },
|
||||
{ name: "Calendar", url: "/calendar" },
|
||||
{ name: "Timeline", url: "/timeline/20" },
|
||||
|
||||
// ---- FEATURE: Direct embed endpoints (no scraping) ----
|
||||
{ name: "Embed All Providers", url: "/embed/20/1?lang=sub" },
|
||||
{ name: "Embed Megavid", url: "/embed/20/1/megavid?lang=sub" },
|
||||
{ name: "Embed AniXo", url: "/embed/20/1/anixo?lang=sub" },
|
||||
{ name: "Embed Providers List", url: "/embed-providers" },
|
||||
];
|
||||
|
||||
// ══════════════════════════════════════════════════════════════
|
||||
|
||||
Reference in New Issue
Block a user