Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 527 Bytes

CSS-Crawler

crawl web page via CSS selector

INSTALL

npm install css-crawler

API

  • host : web site url to fetch
  • rule : css selector
  • callback : (optional) name of callback function (default: callback)
  • htmlFormat : (optional) innerHTML or outerHTML (default: outerHTML)

APPENDIX

github

npm

article