Skip to content

Fix Ranobes chapter title fallback#2649

Merged
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
ltmerletti:fix-ranobes-chapter-title
May 5, 2026
Merged

Fix Ranobes chapter title fallback#2649
dteviot merged 1 commit intodteviot:ExperimentalTabModefrom
ltmerletti:fix-ranobes-chapter-title

Conversation

@ltmerletti
Copy link
Copy Markdown
Contributor

@ltmerletti ltmerletti commented May 1, 2026

Sometimes the Ranobes reader pages put the chapter title inside div#arrticle instead of h1.title. This fix checks the existing h1.title selector first, then falls back to article headings, so normal Ranobes pages keep their current behavior. Without this, the download would never happen, due to a crash (from the failure parsing).

Handle Ranobes reader pages that put chapter headings inside the article content while keeping the existing h1.title behavior for normal Ranobes pages.
@dteviot dteviot merged commit 39b614f into dteviot:ExperimentalTabMode May 5, 2026
1 check passed
@dteviot
Copy link
Copy Markdown
Owner

dteviot commented May 5, 2026

@ltmerletti

Thank you. You should have added yourself to the credits, but I'll take care of that.

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