puppy-csslib

1.1.0 • Public • Published

puppy-csslib

A CSS Selector library to read YAML files to parse static or SPA Pupeteer page and give json output with css selectors.

  • Free software: MIT license

Example

Example code is provided in test.js

Goal

  • To scrap SPA web applications with puppeteer in a generic way with configuration support.
  • also have javascript click function to expand some text so that can be scraped as well.
  • Text replace to replace scraped text with empty string

Features

  • replace text
  • css selectors
  • select and format attribute & text content
  • trim and normalize the text
  • uses document.querySelector and querySelectorAll

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    1
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i puppy-csslib

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

5.19 kB

Total Files

5

Last publish

Collaborators

  • johnsjai