some fixes

This commit is contained in:
ftbom
2024-05-14 18:47:29 +08:00
parent a3cd80d7c6
commit 678e52b380
4 changed files with 10 additions and 8 deletions

View File

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

View File

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

View File

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