1.0.6 • Published 8 years ago

html-selector-checker v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

About

Simple http-request based selector checker. Returns a promise. Verifies given's url + given selector result for a given text entry.

Usage

const check = require('html-selector-checker');
 
async function main() {
  let res = await check(
    'https://www.apple.com/shop/buy-mac/macbook-pro', 
    '.as-macbundle-modelspecs li', 
    '8th-generation'
  );
 
  if (res) {
    console.log('NEW MAC AVAILABLE!')
  } else {
    console.log('...')
  }
}
1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago