add extractor prefix name

This commit is contained in:
kodjomoustapha
2024-10-09 09:52:39 +01:00
parent a36b57ee2d
commit b0ab031441

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single", "typeSource": "single",
"isManga": false, "isManga": false,
"isNsfw": false, "isNsfw": false,
"version": "0.0.3", "version": "0.0.35",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
"pkgPath": "anime/src/en/allanime.js" "pkgPath": "anime/src/en/allanime.js"
@@ -193,7 +193,7 @@ class DefaultExtension extends MProvider {
videos.push(vid); videos.push(vid);
} }
} else if (videoUrl.includes("streamlare.com") && altHosterSelection.some(element => 'streamlare' === element)) { } else if (videoUrl.includes("streamlare.com") && altHosterSelection.some(element => 'streamlare' === element)) {
const vids = await streamlareExtractor(videoUrl); const vids = await streamlareExtractor(videoUrl, 'Streamlare ');
for (const vid of vids) { for (const vid of vids) {
videos.push(vid); videos.push(vid);
} }
@@ -203,7 +203,7 @@ class DefaultExtension extends MProvider {
videos.push(vid); videos.push(vid);
} }
} else if (videoUrl.includes("wish") && altHosterSelection.some(element => 'streamwish' === element)) { } else if (videoUrl.includes("wish") && altHosterSelection.some(element => 'streamwish' === element)) {
const vids = await streamWishExtractor(videoUrl); const vids = await streamWishExtractor(videoUrl, 'StreamWish ');
for (const vid of vids) { for (const vid of vids) {
videos.push(vid); videos.push(vid);
} }