elif "href" not in link:
logger.warning("link[rel]='%s' has no element 'href' - SKIPPED!", link["rel"])
continue
- elif link["href"] is None:
- logger.debug("link[href] is None, link[rel]='%s' - SKIPPED!", link["rel"])
+ elif link["href"] is None or link["href"] == "":
+ logger.debug("link[href]='%s',link[rel]='%s' - SKIPPED!", link["href"], link["rel"])
continue
# Default is that 'href' has a complete URL, but some hosts don't send that
logger.debug("Marking domain='%s' as successfully handled ...", domain)
instances.set_success(domain)
else:
- logger.warning("nodeinfo does not contain 'links' or 'server': domain='%s'", domain)
+ logger.warning("nodeinfo does not contain 'links' or 'server': domain='%s',infos[%s]='%s'", domain, type(infos), infos)
logger.debug("Returning data[]='%s' - EXIT!", type(data))
return data