crawl web page via CSS selector
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
.gitignore
LICENSE
README.md
css-crawler.js
package.json
run

README.md

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