feat(madara): add Tangerine Archive source (#2564)

Co-authored-by: Muse Spark <muse-spark@local>
This commit is contained in:
RibatTRW
2026-09-24 18:43:57 +08:00
committed by GitHub
parent 04db8d4eb4
commit de95c87877
3 changed files with 21 additions and 0 deletions
+12
View File
@@ -235,6 +235,11 @@ export class MadaraPlugin implements Plugin.PluginBase {
case 'المؤلف (ين)':
novel.author = detail.text().trim();
break;
case 'Translator(s)':
case 'Translator':
case 'Translators':
if (!novel.author) novel.author = detail.text().trim();
break;
case 'Status':
case 'Novel':
case 'Estado':
@@ -286,6 +291,13 @@ export class MadaraPlugin implements Plugin.PluginBase {
.get()
.join('\n\n')
.trim() ||
loadedCheerio('.post-content_item h5:contains("Summary")')
.next()
.find('p')
.map((i, el) => loadedCheerio(el).text())
.get()
.join('\n\n')
.trim() ||
loadedCheerio('.manga-summary p')
.map((i, el) => loadedCheerio(el).text())
.get()