Skip to content

Add TangthuvienParser#2567

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

Add TangthuvienParser#2567
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
meowmereo:features/Add-TangthuvienParser

Conversation

@meowmereo
Copy link
Contributor

Add TangthuvienParser for tangthuvien.net

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

dteviot commented Mar 22, 2026

@meowmereo

Thank you (again)

return img.src;
}

return util.getFirstImgSrc(dom, "meta[property='og:image']");
Copy link
Owner

Choose a reason for hiding this comment

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

This isn't right. getFirstImageSrc will return the url of first image matching the selector. In this case, the URL is the content attribute of the element.


listItems.forEach(li => {
if (li.classList.contains("divider-chap")) {
items.push({
Copy link
Owner

Choose a reason for hiding this comment

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

I'm not sure this works. I think chapters with no sourceUrl are ignored.

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