try:
doc = bs4.BeautifulSoup(
- get_response(domain, "/about", headers, (config.get("connection_timeout"), config.get("read_timeout"))).text,
+ get_response(domain, "/about/more", headers, (config.get("connection_timeout"), config.get("read_timeout"))).text,
"html.parser",
)
except BaseException as e:
return {}
for header in doc.find_all("h3"):
- header_text = tidyup_domain(header.text)
+ header_text = tidyup_reason(header.text)
+ # DEBUG: print(f"DEBUG: header_text='{header_text}'")
if header_text in language_mapping:
# DEBUG: print(f"DEBUG: header_text='{header_text}'")
header_text = language_mapping[header_text]