node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

css-crawler

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