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

ukeeper / ukeeper-readability / 46452534085
79%
master: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.1
DEFAULT BRANCH: master
Ran 30 Nov 2026 03:38PM 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 08:58AM UTC coverage: 77.915% (+0.3%) from 77.597%
46452534085

Pull #109

github

paskal
Use the page's og:image as the lead image when the article has none

The lead image was picked only from <img> elements inside the extracted
content. Many articles carry their picture in a header outside the text
block, or declare it only in the page head, so lead_image_url came back
empty for them although the page names a preview image. A lazy-loading
page could also end up with its data: placeholder as the lead image.

When the content has no http or https image, the lead image falls back
to the page's og:image (also when declared with name=), then
twitter:image and link rel=image_src,
resolved against the final URL and limited to http and https. An image
found in the content still wins, and the images list stays limited to
pictures in the content. Images whose source is not http or https, such
as data: placeholders, are no longer lead image candidates or listed
images.
Pull Request #109: Use the page's og:image as the lead image when the article has none

22 of 24 new or added lines in 2 files covered. (91.67%)

1263 of 1621 relevant lines covered (77.91%)

42.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
89.83
1.44% extractor/readability.go
Jobs
ID Job ID Ran Files Coverage
1 46452534085.1 30 Nov 2026 03:38PM UTC 16
77.91
GitHub Action Run
Source Files on build 46452534085
  • Tree
  • List 16
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #109
  • PR Base - master (#46380425701)
  • 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