Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 854 Bytes

File metadata and controls

28 lines (17 loc) · 854 Bytes

browser-article-parser

This demo shows how to use @extractus/article-extractor at client side, with or without proxy.

To install:

npm i

# or pnpm, yarn

Start server:

npm start

Open http://localhost:3100/ to test.

Basically @extractus/article-extractor only works at server side.

However there are some noble publishers those enable Access-Control-Allow-Origin on their service. For example with articles from bitcoin.com, CNBC or Decrypt we can extract from browser.

With the remaining cases, we need a proxy layer to bypass CORS policy.