mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-16 11:50:30 +00:00
Update 77mh.js
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
const mangayomiSources = [{
|
const mangayomiSources = [{
|
||||||
"name": "新新漫画",
|
"name": "新新漫画",
|
||||||
"lang": "zh",
|
"lang": "zh",
|
||||||
"baseUrl": "https://www.77mh.nl",
|
"baseUrl": "http://www.77mh.xyz",
|
||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/zh.77mh.png",
|
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/zh.77mh.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"itemType": 0,
|
"itemType": 0,
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.25",
|
"version": "0.0.3",
|
||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
"dateFormatLocale": "",
|
"dateFormatLocale": "",
|
||||||
@@ -92,7 +92,7 @@ class DefaultExtension extends MProvider {
|
|||||||
const mangas = [];
|
const mangas = [];
|
||||||
for (const element of elements) {
|
for (const element of elements) {
|
||||||
const title = element.selectFirst("h1 a").text.replace("<em>", "").replace("</em>", "");
|
const title = element.selectFirst("h1 a").text.replace("<em>", "").replace("</em>", "");
|
||||||
const url = element.selectFirst("h1 a").attr("href");
|
const url = "/" + element.selectFirst("h1 a").attr("href").split("/").slice(-1)[0];
|
||||||
const cover = element.selectFirst("img").attr("src");
|
const cover = element.selectFirst("img").attr("src");
|
||||||
mangas.push({
|
mangas.push({
|
||||||
name: title,
|
name: title,
|
||||||
@@ -251,7 +251,7 @@ class DefaultExtension extends MProvider {
|
|||||||
"summary": "",
|
"summary": "",
|
||||||
"valueIndex": 0,
|
"valueIndex": 0,
|
||||||
"entries": ["服务器1", "服务器2"],
|
"entries": ["服务器1", "服务器2"],
|
||||||
"entryValues": ["https://picsh.77dm.top", "https://imgsh.dm365.top"],
|
"entryValues": ["https://picsh.77dm.top", "https://imgsh.dm365.top", "https://hws.gdbyhtl.net"],
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user