Merge pull request #63 from Ftbom/main

some fixes
This commit is contained in:
Moustapha Kodjo Amadou
2024-05-14 13:49:51 +01:00
committed by GitHub
4 changed files with 10 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single", "typeSource": "single",
"isManga": false, "isManga": false,
"isNsfw": true, "isNsfw": true,
"version": "0.0.1", "version": "0.0.15",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
"pkgPath": "anime/src/zh/hanime.js", "pkgPath": "anime/src/zh/hanime.js",
@@ -113,7 +113,6 @@ class DefaultExtension extends MProvider {
dateUpload: adddate.toString() dateUpload: adddate.toString()
}); });
} }
eps.reverse();
return { return {
name: title, name: title,
imageUrl: cover, imageUrl: cover,
@@ -1114,4 +1113,4 @@ class DefaultExtension extends MProvider {
getSourcePreferences() { getSourcePreferences() {
throw new Error("getSourcePreferences not implemented"); throw new Error("getSourcePreferences not implemented");
} }
} }

View File

@@ -3,11 +3,11 @@ const mangayomiSources = [{
"lang": "zh", "lang": "zh",
"baseUrl": "https://mikanime.tv", "baseUrl": "https://mikanime.tv",
"apiUrl": "", "apiUrl": "",
"iconUrl": "https://mikanime.me/images/mikan-pic.png", "iconUrl": "https://mikanime.tv/images/mikan-pic.png",
"typeSource": "torrent", "typeSource": "torrent",
"isManga": false, "isManga": false,
"isNsfw": false, "isNsfw": false,
"version": "0.0.1", "version": "0.0.15",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
"pkgPath": "anime/src/zh/mikan.js" "pkgPath": "anime/src/zh/mikan.js"

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single", "typeSource": "single",
"isManga": false, "isManga": false,
"isNsfw": false, "isNsfw": false,
"version": "0.0.1", "version": "0.0.15",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
"pkgPath": "anime/src/zh/yhdm.js" "pkgPath": "anime/src/zh/yhdm.js"
@@ -106,6 +106,9 @@ class DefaultExtension extends MProvider {
url: element.attr("href") url: element.attr("href")
}); });
} }
if (eps[0]["url"].search("-1.html") != -1) {
eps.reverse();
}
return { return {
name: title, name: title,
imageUrl: cover, imageUrl: cover,

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single", "typeSource": "single",
"isManga": true, "isManga": true,
"isNsfw": false, "isNsfw": false,
"version": "0.0.2", "version": "0.0.25",
"dateFormat": "", "dateFormat": "",
"dateFormatLocale": "", "dateFormatLocale": "",
"pkgPath": "manga/src/zh/dmzj.js" "pkgPath": "manga/src/zh/dmzj.js"
@@ -109,7 +109,7 @@ const mangayomiSources = [{
description: desc, description: desc,
episodes: chapters, episodes: chapters,
status: status, status: status,
link: "/info/" + url link: "/info/" + url + ".html"
}; };
} }