Citrus Aurora: fix novel name having white spaces (#1240)

This commit is contained in:
Justin COLLON
2024-10-25 03:47:23 +02:00
committed by GitHub
parent f9db96d74e
commit 9fded79269
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -377,6 +377,7 @@
"sourceSite": "https://citrusaurora.com/", "sourceSite": "https://citrusaurora.com/",
"sourceName": "Citrus Aurora", "sourceName": "Citrus Aurora",
"options": { "options": {
"versionIncrements": 1,
"useNewChapterEndpoint": true, "useNewChapterEndpoint": true,
"lang": "English" "lang": "English"
} }
+1 -1
View File
@@ -168,7 +168,7 @@ class MadaraPlugin implements Plugin.PluginBase {
path: novelPath, path: novelPath,
name: name:
loadedCheerio('.post-title h1').text().trim() || loadedCheerio('.post-title h1').text().trim() ||
loadedCheerio('#manga-title h1').text(), loadedCheerio('#manga-title h1').text().trim(),
}; };
novel.cover = novel.cover =