Fix: lightnovelpub + lightnovelworld replaced ; with + (#818)
* replaced ; with + * changed version
This commit is contained in:
@@ -7,7 +7,7 @@ import dayjs from "dayjs";
|
|||||||
class LightNovelPub implements Plugin.PagePlugin {
|
class LightNovelPub implements Plugin.PagePlugin {
|
||||||
id = "lightnovelpub";
|
id = "lightnovelpub";
|
||||||
name = "LightNovelPub";
|
name = "LightNovelPub";
|
||||||
version = "1.0.0";
|
version = "1.0.1";
|
||||||
icon = "src/en/lightnovelpub/icon.png";
|
icon = "src/en/lightnovelpub/icon.png";
|
||||||
site = "https://www.lightnovelpub.com/";
|
site = "https://www.lightnovelpub.com/";
|
||||||
headers = {
|
headers = {
|
||||||
@@ -92,7 +92,7 @@ class LightNovelPub implements Plugin.PagePlugin {
|
|||||||
const chapterName =
|
const chapterName =
|
||||||
'Chapter ' +
|
'Chapter ' +
|
||||||
loadedCheerio(this).find('.chapter-no').text().trim() +
|
loadedCheerio(this).find('.chapter-no').text().trim() +
|
||||||
' - ';
|
' - ' +
|
||||||
loadedCheerio(this).find('.chapter-title').text().trim();
|
loadedCheerio(this).find('.chapter-title').text().trim();
|
||||||
|
|
||||||
const releaseDate = loadedCheerio(this)
|
const releaseDate = loadedCheerio(this)
|
||||||
@@ -106,7 +106,8 @@ class LightNovelPub implements Plugin.PagePlugin {
|
|||||||
name: chapterName,
|
name: chapterName,
|
||||||
path: chapterUrl,
|
path: chapterUrl,
|
||||||
releaseTime: dayjs(releaseDate).toISOString(),
|
releaseTime: dayjs(releaseDate).toISOString(),
|
||||||
})});
|
})
|
||||||
|
});
|
||||||
const chapters = chapter;
|
const chapters = chapter;
|
||||||
return { chapters };
|
return { chapters };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ class LightNovelWorld implements Plugin.PagePlugin {
|
|||||||
id = "lightnovelworld";
|
id = "lightnovelworld";
|
||||||
name = "LightNovelWorld";
|
name = "LightNovelWorld";
|
||||||
site = "https://www.webnovelworld.org/";
|
site = "https://www.webnovelworld.org/";
|
||||||
version = "1.0.0";
|
version = "1.0.1";
|
||||||
icon = "src/en/lightnovelworld/icon.png";
|
icon = "src/en/lightnovelworld/icon.png";
|
||||||
headers = {
|
headers = {
|
||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
@@ -92,7 +92,7 @@ class LightNovelWorld implements Plugin.PagePlugin {
|
|||||||
const chapterName =
|
const chapterName =
|
||||||
'Chapter ' +
|
'Chapter ' +
|
||||||
loadedCheerio(this).find('.chapter-no').text().trim() +
|
loadedCheerio(this).find('.chapter-no').text().trim() +
|
||||||
' - ';
|
' - ' +
|
||||||
loadedCheerio(this).find('.chapter-title').text().trim();
|
loadedCheerio(this).find('.chapter-title').text().trim();
|
||||||
|
|
||||||
const releaseDate = loadedCheerio(this)
|
const releaseDate = loadedCheerio(this)
|
||||||
@@ -106,7 +106,8 @@ class LightNovelWorld implements Plugin.PagePlugin {
|
|||||||
name: chapterName,
|
name: chapterName,
|
||||||
path: chapterUrl,
|
path: chapterUrl,
|
||||||
releaseTime: dayjs(releaseDate).toISOString(),
|
releaseTime: dayjs(releaseDate).toISOString(),
|
||||||
})});
|
})
|
||||||
|
});
|
||||||
const chapters = chapter;
|
const chapters = chapter;
|
||||||
return { chapters };
|
return { chapters };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user