Add novel.ovh (#756)

* fix

* test

* fix
This commit is contained in:
Rider21
2024-02-07 20:51:25 +03:00
committed by GitHub
parent 1907814d87
commit db921e704f
12 changed files with 582 additions and 18 deletions
+3 -1
View File
@@ -68,7 +68,9 @@ class Bookriver implements Plugin.PluginBase {
chapters.push({
name: chapter.name,
url: this.site + "/reader/" + book?.slug + "/" + chapter.chapterId,
releaseTime: dayjs(chapter?.firstPublishedAt || chapter.createdAt).format("LLL"),
releaseTime: dayjs(
chapter.firstPublishedAt || chapter.createdAt || undefined,
).format("LLL"),
chapterNumber: chapterIndex + 1,
});
}