This commit is contained in:
Edward Betts 2023-09-07 16:14:19 +01:00
parent ba93950cb7
commit d69a955b29

View file

@ -27,6 +27,7 @@ not_here_list = [
"There is currently no text in this page.", "There is currently no text in this page.",
"This page does not exist yet", "This page does not exist yet",
"404 Not Found", "404 Not Found",
"500 Internal Server Error",
] ]
conferences = [ conferences = [
@ -90,8 +91,6 @@ def main(show_not_live: bool = False) -> None:
"""Check each conference.""" """Check each conference."""
for name, url in conferences: for name, url in conferences:
live, msg = check_conference(name, url) live, msg = check_conference(name, url)
if live or show_not_live:
print(f"{name}: {msg}")
if not live: if not live:
continue continue
body = f"{name}\n{url}\nWeb page title: {msg}" body = f"{name}\n{url}\nWeb page title: {msg}"