Skip to content

craftzdog/extract-main-text-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

extract-main-text-node

Ported from mono0x/extractcontent.

Installing

npm install extract-main-text

Usage

var BodyExtractor = require('extract-main-text');
var extractor = new BodyExtractor({
    url: 'http://***.com/'
  });
extractor.analyze()
  .then(function(text) {
    console.log(extractor.title);
    console.log(extractor.mainText);
  });

License

The BSD license

About

ExtractContent for node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published