doc = bs4.BeautifulSoup(response.text, "html.parser")
logger.debug("doc[]='%s'", type(doc))
- headers = doc.findAll("h5")
+ headers = doc.findAll("div", {"class": "home-instances container-lg"})
found = None
logger.debug("Search in %d header(s) ...", len(headers))
for header in headers:
doc = bs4.BeautifulSoup(response.text, "html.parser")
logger.debug("doc[]='%s'", type(doc))
- headers = doc.findAll("h5")
+ headers = doc.findAll("div", {"class": "home-instances container-lg"})
logger.debug("Checking %d headers ...", len(headers))
for header in headers:
logger.debug("header[%s]='%s'", type(header), header)