Compare commits
2 commits
f9ac97d069
...
164a93cd88
Author | SHA1 | Date | |
---|---|---|---|
Edward Betts | 164a93cd88 | ||
Edward Betts | 840d39ca35 |
5
check.py
5
check.py
|
@ -87,11 +87,14 @@ not_here_list = [
|
||||||
"Test Page for the Apache HTTP Server",
|
"Test Page for the Apache HTTP Server",
|
||||||
"Site not found · GitHub Pages",
|
"Site not found · GitHub Pages",
|
||||||
"504: Gateway time-out",
|
"504: Gateway time-out",
|
||||||
|
"502 Bad Gateway",
|
||||||
"This page doesn't exist (404)",
|
"This page doesn't exist (404)",
|
||||||
"Coming soon",
|
"Coming soon",
|
||||||
"NOT_FOUND",
|
"NOT_FOUND",
|
||||||
"Resource Not Found",
|
"Resource Not Found",
|
||||||
"Wikimedia Error",
|
"Wikimedia Error",
|
||||||
|
"The page you requested could not be found",
|
||||||
|
"Ooops! Could Not Find It",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -154,7 +157,7 @@ def check_conference_web_site(name: str, src_url: str, year: int) -> bool:
|
||||||
live, msg = check_conference(name, url := src_url.format(year=year))
|
live, msg = check_conference(name, url := src_url.format(year=year))
|
||||||
if live:
|
if live:
|
||||||
body = f"{name}\n{url}\nWeb page title: {msg}"
|
body = f"{name}\n{url}\nWeb page title: {msg}"
|
||||||
send_mail(f"Conference site live: {name}", body)
|
send_mail(f"Conference site live: {name} - {year}", body)
|
||||||
|
|
||||||
return live
|
return live
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue