indo fix (#1120)
* LightNovelWP: - bacalightnovel fix chapter parsing * feat: Update source site URL for "MoreNovel" to "Risenovel"
This commit is contained in:
@@ -37,7 +37,7 @@ class LightNovelWPPlugin implements Plugin.PluginBase {
|
||||
this.icon = `multisrc/lightnovelwp/${metadata.id.toLowerCase()}/icon.png`;
|
||||
this.site = metadata.sourceSite;
|
||||
const versionIncrements = metadata.options?.versionIncrements || 0;
|
||||
this.version = `1.1.${3 + versionIncrements}`;
|
||||
this.version = `1.1.${4 + versionIncrements}`;
|
||||
this.options = metadata.options ?? ({} as LightNovelWPOptions);
|
||||
this.filters = metadata.filters satisfies Filters;
|
||||
}
|
||||
@@ -183,7 +183,7 @@ class LightNovelWPPlugin implements Plugin.PluginBase {
|
||||
} else if (isParsingChapterList && name === 'li') {
|
||||
isReadingChapter = true;
|
||||
} else if (isReadingChapter) {
|
||||
if (name === 'a') {
|
||||
if (name === 'a' && tempChapter.path === undefined) {
|
||||
tempChapter.path = attribs['href'].replace(baseURL, '').trim();
|
||||
} else if (attribs['class'] === 'epl-num') {
|
||||
isReadingChapterInfo = 1;
|
||||
|
||||
@@ -116,10 +116,11 @@
|
||||
},
|
||||
{
|
||||
"id": "morenovel",
|
||||
"sourceSite": "https://morenovel.net/",
|
||||
"sourceName": "MoreNovel",
|
||||
"sourceSite": "https://risenovel.com/",
|
||||
"sourceName": "Risenovel",
|
||||
"options": {
|
||||
"useNewChapterEndpoint": true,
|
||||
"versionIncrements": 1,
|
||||
"lang": "Indonesian"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user