Skip to content

Add site https://beastnovels.com#2631

Merged
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
crybx:beastnovels
Apr 21, 2026
Merged

Add site https://beastnovels.com#2631
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
crybx:beastnovels

Conversation

@crybx
Copy link
Copy Markdown
Contributor

@crybx crybx commented Apr 19, 2026

const cards = [...dom.querySelectorAll("a.chapter-card")]
.filter(a => a.dataset.premium !== "1");
return cards.map(a => {
const num = a.querySelector(".chapter-card__num")?.textContent.replace(/\s+/g, " ").trim();
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

If you use "?." you should continue to use it. Otherwise it will just break at the next operation

@dteviot dteviot merged commit 22e2338 into dteviot:ExperimentalTabMode Apr 21, 2026
1 check passed
@dteviot
Copy link
Copy Markdown
Owner

dteviot commented Apr 21, 2026

@crybx

Thank you.

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