feat: Add custom chapter transformation for Lily on the Valley source (#1719) (#1910)

This commit is contained in:
Justin COLLON
2025-12-24 13:21:54 +01:00
committed by GitHub
parent 2443d8f7fc
commit fef50e7b62
7 changed files with 70 additions and 4 deletions
+3
View File
@@ -135,6 +135,9 @@ class FictioneerPlugin implements Plugin.PluginBase {
const body = await req.text();
const loadedCheerio = loadCheerio(body);
// chapterTransformJs HERE
return loadedCheerio('section#chapter-content > div').html() || '';
}