Update
This commit is contained in:
parent
ba93950cb7
commit
d69a955b29
3
check.py
3
check.py
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue