From db19ac48d8ad622f80343fae5845fc5ed03da40f Mon Sep 17 00:00:00 2001 From: Pijus Kamandulis Date: Sun, 31 Mar 2019 01:50:25 +0200 Subject: [PATCH] Create README.md --- status-webhooks/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 status-webhooks/README.md diff --git a/status-webhooks/README.md b/status-webhooks/README.md new file mode 100644 index 0000000..af3c2be --- /dev/null +++ b/status-webhooks/README.md @@ -0,0 +1,16 @@ +# /sysadmin/status-webhooks +#### Scripts to report information using webhooks +## Scripts +* `yt-report.sh` - Reports about newly downloaded youtube videos + +## yt-report.sh +Reports newly downloaded youtube videos +### Files in directory: +* webhook.txt - contains webhook URL +* template.txt - contains template of the POST request body +* yt_reported.txt - contains already reported video list +### Parameters: +* archive - path to list of downloaded videos +* webhook - webhook URL +* template - template of the POST request body +* reported - path to list of reported videos