• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ukeeper / ukeeper-readability / 46519890972
80%
master: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.1
DEFAULT BRANCH: master
Ran 30 Nov 2026 09:46PM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Nov 2026 09:31PM UTC coverage: 80.177% (+0.5%) from 79.663%
46519890972

Pull #110

github

paskal
Use readeck/go-readability as the general parser

The general parser was mauidude/go-readability, an early port of
Readability that often returned the page's navigation, share buttons or
related links with the article, or a fragment of the article without its
start. codeberg.org/readeck/go-readability/v2 is a maintained port of
Mozilla's Readability.js and picks the article body more reliably.

Readeck is now the general parser, for pages without a rule and pages
whose rule matches nothing. Its html is returned as both content and
rich, so parse converts it to text once, as on the rule path. The utf-8
body is parsed with x/net/html before readeck sees it, so readeck does
not guess the charset again, and readeck resolves relative URLs, srcset
and poster included, against the final URL after redirects. Before
parsing, aria-hidden is removed from paragraphs and iframes, which some
sites hide that way until a script runs, and a paragraph or div holding
a video, audio or iframe element and no text becomes a figure, since
readeck deletes such paragraphs and divs. Embeds from any host are
allowed, as the older parser kept them, not only those of the video
sites readeck knows. Readeck already drops a heading that repeats the
title, so the title is not taken out of its text again.

The older parser stays for Substack posts with footnotes, whose footnote
handling is built around it, and for pages where readeck finds no
article. When readeck's article has under 250 characters of text, as on
a page that keeps its article hidden behind a placeholder, the older
parser also runs and the longer text wins.
Pull Request #110: Use readeck/go-readability as the general parser

94 of 104 new or added lines in 2 files covered. (90.38%)

1537 of 1917 relevant lines covered (80.18%)

88.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
90.51
0.56% extractor/readability.go
Jobs
ID Job ID Ran Files Coverage
1 46519890972.1 30 Nov 2026 09:46PM UTC 16
80.18
GitHub Action Run
Source Files on build 46519890972
  • Tree
  • List 16
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #110
  • PR Base - master (#46517079311)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc