Skip to content

Update TiemtruyenchuParser#2579

Merged
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
meowmereo:features/Update-TiemtruyenchuParser
Mar 26, 2026
Merged

Update TiemtruyenchuParser#2579
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
meowmereo:features/Update-TiemtruyenchuParser

Conversation

@meowmereo
Copy link
Contributor

Update TiemtruyenchuParser for tiemtruyenchu.com

  • Added detection for locked/VIP chapters and automatically uncheck locked chapters.

- Added detection for locked/VIP chapters and automatically uncheck locked chapters.
return Array.from(dom.querySelectorAll(".chapter-page a.chapter-item-link"))
.map(link => ({
return Array.from(dom.querySelectorAll(".chapter-page a.chapter-item-link")).map(link => {
const parent = link.parentElement || link;
Copy link
Owner

Choose a reason for hiding this comment

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

I can't think of any case where the link won't have a parentElement.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was just an overly cautious fallback on my part. Feel free to remove the link part directly. Thanks for pointing it out!

@dteviot dteviot merged commit 4b3ec40 into dteviot:ExperimentalTabMode Mar 26, 2026
1 check passed
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