Skip to content

Add TruyenmoikkParser#2566

Merged
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
meowmereo:features/add-TruyenmoikkParser
Mar 22, 2026
Merged

Add TruyenmoikkParser#2566
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
meowmereo:features/add-TruyenmoikkParser

Conversation

@meowmereo
Copy link
Contributor

Add TruyenmoikkParser for truyenmoikk.com and credit

}

extractDescription(dom) {
return dom.querySelector(".desc-text")?.textContent.trim() || super.extractDescription(dom);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI. If you implement getInformationEpubItemChildNodes(), you don't need to implement extractDescription()
Base implementation of extractDescription() calls getInformationEpubItemChildNodes()

@dteviot dteviot merged commit 4ced3a9 into dteviot:ExperimentalTabMode Mar 22, 2026
1 check passed
@dteviot
Copy link
Owner

dteviot commented Mar 22, 2026

@meowmereo

Thank you for your contribution

if (metaThumb && metaThumb.content) {
return metaThumb.content;
}
return util.getFirstImgSrc(dom, ".book img[itemprop='image']");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs to be

return util.getFirstImgSrc(dom, ".book");

Function locates the first image inside the element matching the CSS selector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants