polling-site-parser

a script you can use to easily poll a website for a specific section, then publish to SNS if there's any difference.

Usage no npm install needed!

<script type="module">
  import pollingSiteParser from 'https://cdn.skypack.dev/polling-site-parser';
</script>

README

Polling Site Parser

This is just a simple node script that will poll a site for you with a given filter path, find changes, and publish those changes out via SNS topic. An example execution could look like:

AWS_PROFILE=my-aws-profile polling-site-parser --site https://sitetopoll.com --filter ".item-card .title" --interval 1 --updateTopic arn:aws:sns:us-west-2:01234567890:site-updates

Installation

You can install via source from Github, or you can install via NPM by running

npm install polling-site-parser