mozilla / mozilla/readability

Save all the images, not just the first one

Open
#924 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.5k
Forks
732
PR merge metrics
No merged PRs in 30d

Description

The Obsidian Clipper, a user of the readability feature, the first image of a web page is saved to the Obsidian Vault. This is nice but it's rarely the image I want to see again. For example, in Polling Is Not the Problem, the first image is a large American flag, and while I am a great patriot, the flag contains no useful information.

Instead, I'm interested in the second image, the graph of polling errors -- the Evernote, Zotero and SingleFile browser extensions do manage to save it.

It would be wonderful if readability saved all pertinent images. Removing adverts and so on is great, though.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files, tests, or specific entry points. Reproduce the case with the linked NYT article and inspect the readability feature's image extraction behavior, comparing it with the Obsidian Clipper, Evernote, Zotero, and SingleFile results; done means pertinent article images are saved while adverts remain excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.