crawler-html-3t
Phâm tích html
Last updated 4 years ago by trungdang .
Repository · Original npm · Tarball · package.json
$ cnpm install crawler-html-3t 
SYNC missed versions from official npm registry.

Crawler Html 3T

Đây là thư viện dùng để bóc tách dữ liệu html

Installation

npm install crawler-html-3t --save

Usage

Class ModelMongoose

  1. mod_sources
  • name_index
  • SourcesNews
  • Articles
  1. mod_baogom
  • name_index
  • mod_acticles
  • mod_links
  • mod_categories

Class HtmlParser

  1. GetHtmlDoc
  • body: html
  • $: jquery
  GetHtmlDoc(url,function(error, body, $));

Class HtmlExtract

  1. getTitle

 var title =  getTitle($);

  1. getDesc

 var description =  getDesc($);

  1. getImage

 var url_image =  getImage($);

Class ReadRss

  1. getListFeed

getListFeed(url_rss,function(error,list_feed));

  1. getListFeedByBodyXml

getListFeedByBodyXml(bodyXml,function(error,list_feed));

Current Tags

  • 1.0.10                                ...           latest (4 years ago)

13 Versions

  • 1.0.10                                ...           4 years ago
  • 1.0.9                                ...           4 years ago
  • 1.0.8                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 5
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |