You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5ae267
Browse filesBrowse the repository at this point in the historyBrowse files
fix(fetch): fall back when Readability strips hidden SSR content
Add a three-stage extraction pipeline to extract_content_from_html():
1. Readability (existing, best quality for standard pages)
2. readabilipy without Readability JS (less aggressive, no CSS visibility filtering)
3. Raw markdownify conversion (last resort)
Stages 2 and 3 only activate when stage 1 produces text shorter than 1% of the
input HTML length, which indicates Readability stripped meaningful content. This
commonly happens with progressive SSR sites that deliver content in hidden
containers (visibility:hidden, position:absolute) awaiting client-side hydration.
No new dependencies. No behavior change for sites where Readability works correctly.
Fixes#3878
0 commit comments