LighnovelWP update (#900)

* multisrc lightnovelwp:
 - customJs from sources.json
 - Genesis Tls fix werid spaceing and fix copyright

* multisrc lightnovelwp:
 - custom seriesPath for sources
 - added moonlightnovel
 - added sektenovel filter
 - updated README.md

* lightnovelWP: - customJs in file instead of eval

* lightnovelWP: - fix images size

* update daotranslate & remove check for tld
This commit is contained in:
Justin COLLON
2024-04-28 16:05:13 +02:00
committed by GitHub
parent 1ca7009d26
commit 593fa2f206
7 changed files with 489 additions and 21 deletions
+17 -13
View File
@@ -14,7 +14,8 @@
"sourceName": "ملوك الروايات",
"options": {
"lang": "Arabic",
"reverseChapters": true
"reverseChapters": true,
"customJs": "let ignore = $('article > style').text().trim().split(',');ignore.push(...(ignore.pop()?.match(/^\\.\\w+/) || []));ignore.map(tag => $(`p${tag}`).remove());"
}
},
{
@@ -46,12 +47,12 @@
},
{
"id": "daotranslate",
"sourceSite": "https://daotranslate.us/",
"sourceSite": "https://daotranslate.net/",
"sourceName": "DaoTranslate",
"options": {
"lang": "English",
"reverseChapters": true,
"versionIncrements": 1
"versionIncrements": 2
}
},
{
@@ -97,7 +98,9 @@
"sourceName": "GenesisTls",
"options": {
"lang": "English",
"reverseChapters": false
"reverseChapters": false,
"versionIncrements": 1,
"customJs": "$('.genesistls-watermark').remove();$('.epcontent p').each((i, el) => { if ($(el).html() === ' ') $(el).remove(); });"
}
},
{
@@ -136,15 +139,6 @@
"reverseChapters": false
}
},
{
"id": "bacalightnovel",
"sourceSite": "https://bacalightnovel.co/",
"sourceName": "Baca Light Novel",
"options": {
"lang": "Indonesian",
"reverseChapters": true
}
},
{
"id": "sektenovel",
"sourceSite": "https://sektenovel.web.id/",
@@ -162,5 +156,15 @@
"lang": "English",
"reverseChapters": true
}
},
{
"id": "moonlightnovel",
"sourceSite": "https://moonlightnovel.com/",
"sourceName": "Moonlight Novels",
"options": {
"lang": "English",
"reverseChapters": true,
"seriesPath": "/novels/"
}
}
]