Bug fix no response from website.
This commit is contained in:
parent
befdfd8bb8
commit
ee6f594a19
3
check.py
3
check.py
|
@ -227,8 +227,7 @@ class Conference:
|
||||||
|
|
||||||
def og_tags(self) -> dict[str, str]:
|
def og_tags(self) -> dict[str, str]:
|
||||||
"""Open Graph tags."""
|
"""Open Graph tags."""
|
||||||
assert self.response
|
return parse_opengraph_tags(self.response.text) if self.response else {}
|
||||||
return parse_opengraph_tags(self.response.text)
|
|
||||||
|
|
||||||
def check_web_site(self) -> bool:
|
def check_web_site(self) -> bool:
|
||||||
"""Check if an individual web site is live."""
|
"""Check if an individual web site is live."""
|
||||||
|
|
Loading…
Reference in a new issue