mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
+
This commit is contained in:
@@ -15,6 +15,5 @@ List<Source> _zorothemeSourcesList = [
|
||||
]
|
||||
.map((e) => e
|
||||
..sourceCodeUrl = _zorothemeSourceCodeUrl
|
||||
..appMinVerReq = "0.4.0"
|
||||
..version = _zorothemeVersion)
|
||||
.toList();
|
||||
|
||||
@@ -8,7 +8,6 @@ const mangayomiSources = [{
|
||||
"isManga": false,
|
||||
"itemType": 1,
|
||||
"version": "0.0.25",
|
||||
"appMinVerReq": "0.3.8",
|
||||
"pkgPath": "anime/src/all/torrentio.js"
|
||||
}];
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ const mangayomiSources = [{
|
||||
"isManga": false,
|
||||
"itemType": 1,
|
||||
"version": "0.0.2",
|
||||
"appMinVerReq": "0.3.8",
|
||||
"pkgPath": "anime/src/all/torrentioanime.js"
|
||||
}];
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ const mangayomiSources = [{
|
||||
"dateFormat": "",
|
||||
"dateFormatLocale": "",
|
||||
"pkgPath": "novel/src/en/novelupdates.js",
|
||||
"appMinVerReq": "0.4.0",
|
||||
"isNsfw": false,
|
||||
"hasCloudflare": true
|
||||
}];
|
||||
@@ -393,7 +392,7 @@ class DefaultExtension extends MProvider {
|
||||
});
|
||||
const redirectDoc = new Document(redirectRes.body);
|
||||
const title =
|
||||
redirectDoc.selectFirst(".entry-header > .entry-title")?.text.trim() ||
|
||||
redirectDoc.selectFirst(".entry-header > .entry-title")?.text.trim() ||
|
||||
"";
|
||||
const content = redirectDoc.selectFirst(".entry-content")?.innerHtml.replaceAll(/<i\s*.*?>.*?<\/i>/gm, "");
|
||||
return `<h2>${title}</h2><hr><br>${content}`;
|
||||
@@ -467,11 +466,11 @@ class DefaultExtension extends MProvider {
|
||||
doc.selectFirst("#the-content")?.innerHtml ||
|
||||
doc.selectFirst("article.post")?.innerHtml;
|
||||
|
||||
if (isWordpress || domain.includes("etherreads") || domain.includes("soafp")) {
|
||||
return `<h2>${title}</h2><hr><br>${content}`;
|
||||
}
|
||||
if (isWordpress || domain.includes("etherreads") || domain.includes("soafp")) {
|
||||
return `<h2>${title}</h2><hr><br>${content}`;
|
||||
}
|
||||
|
||||
return `<p>Domain not supported yet. Content might not load properly!</p>
|
||||
return `<p>Domain not supported yet. Content might not load properly!</p>
|
||||
<br><h2>${title}</h2><hr><br>${content}`;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ const mangayomiSources = [{
|
||||
"dateFormat": "",
|
||||
"dateFormatLocale": "",
|
||||
"pkgPath": "novel/src/en/wordrain69.js",
|
||||
"appMinVerReq": "0.4.0",
|
||||
"isNsfw": false,
|
||||
"hasCloudflare": false
|
||||
}];
|
||||
|
||||
@@ -54,7 +54,7 @@ class Source {
|
||||
this.isManga,
|
||||
this.itemType = ItemType.manga,
|
||||
this.isFullData = false,
|
||||
this.appMinVerReq = "0.2.0",
|
||||
this.appMinVerReq = "0.5.0",
|
||||
this.additionalParams = "",
|
||||
this.sourceCodeLanguage = 0});
|
||||
Source.fromJson(Map<String, dynamic> json) {
|
||||
|
||||
Reference in New Issue
Block a user