Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing first article's section for decolonizepalestine.com/myth/a-land-... #948

Open
mlibre opened this issue Jan 10, 2025 · 0 comments
Open

Comments

@mlibre
Copy link

mlibre commented Jan 10, 2025

Hello.

For some reason, readablity is missing the content of the first section of the page: decolonizepalestine/myth/a... :

“A land without a people for a people without a land”

It is almost impossible to acquaint yourself with scholarship on Palestine, or be involved in Palestinian activism to any extent without coming across a variation of the above. Sadly, despite all the meticulous scholarship of Palestinians and others on the topic, variations of this talking point remain a prominent feature of Israeli propaganda. But how cou
...
..
..

Here is the code. You see that already tried charThreshold and nbTopCandidates:

const { data } = await axios.get( url ); // https://decolonizepalestine.com/myth/a-land-without-a-people-for-a-people-without-a-land/
const dom = new JSDOM( data, { url });

const reader = new Readability( dom.window.document, { charThreshold: 40, nbTopCandidates: 20 });
const article = reader.parse();

the textContent start by : This slogan persists to ( the second section )

versions:

  "dependencies": {
    "@mozilla/readability": "^0.5.0",
    "axios": "^1.7.9",
    "eslint": "^9.17.0",
    "jsdom": "^26.0.0"
  }

It happens in the firefox itself as well:

image

image

@mlibre mlibre changed the title Missing first article's section for https://decolonizepalestine.com/myth/a-land-without-a-people-for-a-people-without-a-land/ Missing first article's section for decolonizepalestine.com/myth/a-land-... Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant