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