Skip to content

Commit

Permalink
Fixed Aniwave's FileMoon extractor match (0.7.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixuge committed Aug 16, 2024
1 parent edfefa0 commit 9b602cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/aniwave/extractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ export async function getVideo(url: string): Promise<ISource> {
}

// 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.
Expand Down
2 changes: 1 addition & 1 deletion src/aniwave/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 9b602cc

Please sign in to comment.