extension(Animeparadise): remove unused

This commit is contained in:
Swakshan
2025-02-06 16:23:12 +05:30
parent 352cce6575
commit f9d6caaf95

View File

@@ -6,7 +6,7 @@ const mangayomiSources = [{
"iconUrl": "https://www.google.com/s2/favicons?sz=128&domain=https://animeparadise.moe", "iconUrl": "https://www.google.com/s2/favicons?sz=128&domain=https://animeparadise.moe",
"typeSource": "single", "typeSource": "single",
"itemType": 1, "itemType": 1,
"version": "0.0.5", "version": "0.0.6",
"pkgPath": "anime/src/en/animeparadise.js" "pkgPath": "anime/src/en/animeparadise.js"
}]; }];
@@ -117,14 +117,6 @@ class DefaultExtension extends MProvider {
details.chapters = chapters.reverse(); details.chapters = chapters.reverse();
return details; return details;
} }
// For novel html content
async getHtmlContent(url) {
throw new Error("getHtmlContent not implemented");
}
// Clean html up for reader
async cleanHtmlContent(html) {
throw new Error("cleanHtmlContent not implemented");
}
// Sorts streams based on user preference. // Sorts streams based on user preference.
async sortStreams(streams) { async sortStreams(streams) {
var sortedStreams = []; var sortedStreams = [];
@@ -193,10 +185,6 @@ class DefaultExtension extends MProvider {
return streams return streams
} }
// For manga chapter pages
async getPageList(url) {
throw new Error("getPageList not implemented");
}
addCatogory(arr, typ) { addCatogory(arr, typ) {
arr = arr.map(x => ({ type_name: typ, name: x, value: x })) arr = arr.map(x => ({ type_name: typ, name: x, value: x }))