Skip to content

Latest commit

 

History

History

browser-article-parser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.