From 9b602cc10df17b3aa77f5295f6f147e9a7cc477b Mon Sep 17 00:00:00 2001 From: Nixuge Date: Sat, 17 Aug 2024 00:11:33 +0200 Subject: [PATCH] Fixed Aniwave's FileMoon extractor match (0.7.6) --- src/aniwave/extractor.ts | 4 ++-- src/aniwave/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aniwave/extractor.ts b/src/aniwave/extractor.ts index f85df0c..97e7ac3 100644 --- a/src/aniwave/extractor.ts +++ b/src/aniwave/extractor.ts @@ -18,13 +18,13 @@ export async function getVideo(url: string): Promise { } // If the url doesn't match anything, as of now it's either vidplay or filemoon, so check their html - if (html.includes("Barracuda")) { + if (html.includes("a-bean")) { return new FilemoonE(url, html).extract() } if (html.includes("/min/all.js") || html.includes("/min/embed.js")) { return new MyCloudE(url, html).extract() - } + } console.warn(`No extractor found for url ${url}. However, due to the fact vidplay really enjoy changing their domain often, the vidplay extractor is going to be used. diff --git a/src/aniwave/index.ts b/src/aniwave/index.ts index d6ee0cf..86c0b55 100644 --- a/src/aniwave/index.ts +++ b/src/aniwave/index.ts @@ -37,7 +37,7 @@ export default class Source extends SourceModule implements VideoContent { metadata = { id: 'aniwave', name: 'Aniwave', - version: '0.7.5', + version: '0.7.6', icon: "https://aniwave.to/assets/s/e8c93166fd4dcf9ab41d5178518295fc1b5fcb27fd90df1c268eb0.png" }