Bug in using library versus FF reader mode on cnn.com website

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
web-dev

Research direction

Start by reproducing the report with the provided CNN URL and compare the library's extracted image divs with Firefox Reader mode. Trace the image extraction behavior responsible for the data:image/gif source, and consider the issue done when the library returns usable image sources for the affected page without regressing other image handling.

Written by the indexing model from the issue text.

Description

has-website-testcase images

Hello,

Using library, for URLs like https://edition.cnn.com/2021/02/09/europe/ursula-von-der-leyen-profile-intl/index.html image divs got src like src="data:image/gif;base64,R0lGODlhEAAJAJEAAAAAAP///////wAAACH5BAEAAAIALAAAAAAQAAkAAAIKlI+py+0Po5yUFQA7" while in Firefox reader mode its working normally (yet some images use smaller version).

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

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.

More from mozilla/readability

All issues in mozilla/readability

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.