webpage-change-checker

command module
v0.0.0-...-31a6c5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2018 License: MIT Imports: 16 Imported by: 0

README

webpage-change-checker

Check webpages you like, and notify if it changed.

Usage

go get github.com/mosasiru/webpage-change-checker

cp $GOPATH/src/github.com/mosasiru/webpage-change-checker/config.examble.toml config.toml

write your own config, then

webpage-change-checker -c config.toml

Configuration

[[checker.pages]]

you can set multi pages.

name type description default note
url string site url required
selector string CSS selector you want to check diff example: #content
timeout int request timeout (second) 10
interval int check interval (second) 600 don't attack sites!
notify_no_change bool notify when nothing is changed also
notify_error bool notify when error occurs 10 false
notifier enum("slack") notifier. slack is only available now.

[checker]

name type description default note
cache_dir string the directory name where the latest response is saved .checker

[slack]

name type description default note
webhook_url string the url of webhook required
channel string the channel name
username string notifier name
icon_emoji string notifier icon emoji
icon_url string notifier icon url
alert_prefix string the prefix used when any change or error occurs example: ,

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL