Small program to download a web page, see if a string appears in it and send email if it does
Go Makefile
Latest commit 3a7e5a0 Oct 29, 2015 @jgrahamc Merge pull request #7 from nathan-osman/master
Refactored code and added authentication parameters for SMTP.
Permalink
Failed to load latest commit information.
gmsl
src/webwatch
.gitignore
LICENSE
Makefile
README.md

README.md

webwatch

Small program to download a web page, see if a string appears in it and send email if it does.

Usage

Grab https://www.cloudflare.com/ and see if it contains "Breaking News" and send email if it does.

webwatch -url=https://www.cloudflare.com/ -warn="Breaking News" -from=alice@example.com -to=bert@example.com

-url: URL to get

-warn: string to search in the page

-from: From address for the email

-to: List of comma-separated addresses to send mail to

-smtp: The SMTP server to use