Skip to content

Clipper failing with parse error - Error("Failed to parse article"); #8

Open
@ArlindNocaj

Description

@ArlindNocaj

I tried the following command:

clipper clip -u https://aws-experience.com/emea/dach-cee/e/566ad/aws-deep-dive-days---generative-ai

It fails with:

 clipper clip -u https://aws-experience.com/emea/dach-cee/e/566ad/aws-deep-dive-days---generative-ai
/Users/arlnocaj/.nvm/versions/node/v18.16.1/lib/node_modules/@philschmid/clipper/dist/clipper.js:59
        throw new Error("Failed to parse article");
              ^

Error: Failed to parse article
    at extract_from_dom (/Users/arlnocaj/.nvm/versions/node/v18.16.1/lib/node_modules/@philschmid/clipper/dist/clipper.js:59:15)
    at extract_from_url (/Users/arlnocaj/.nvm/versions/node/v18.16.1/lib/node_modules/@philschmid/clipper/dist/clipper.js:86:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Command.<anonymous> (/Users/arlnocaj/.nvm/versions/node/v18.16.1/lib/node_modules/@philschmid/clipper/dist/index.js:44:15)

Node.js v18.16.1

It seems that the readability plugin from mozialla is failing on that page. Ideally it should still give the output, with a warning that readability might not be optimal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions