Commit 9923f252 authored by nimrod's avatar nimrod
Browse files

Add a check for library.shore.co.il.

parent ff2dadfc
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ locals {
    "gitlab",
    "imap",
    "kodi",
    "library",
    "mta_sts",
    "myip",
    "nextcloud",

src/library.py

0 → 100644
+14 −0
Original line number Diff line number Diff line
"""Check the Transmission web service."""

from utils import website_handler

URLS = [
    {"url": "http://library.shore.co.il/", "codes": [301]},
    {"url": "https://library.shore.co.il/", "codes": [401]},
]

handler = website_handler(URLS)


if __name__ == "__main__":
    handler("event", "context")