if software is not None and software != "":
logger.info("domain='%s' is generated by software='%s' - Setting detection_mode=GENERATOR ...", domain, software)
instances.set_detection_mode(domain, "GENERATOR")
- elif isinstance(app_name, bs4.element.Tag) and isinstance(app_name.get("content"), str):
+ elif isinstance(app_name, bs4.element.Tag) and isinstance(app_name.get("content"), str) and app_name.get("content") != "":
logger.debug("Found property=og:app_name, domain='%s'", domain)
software = tidyup.domain(app_name.get("content"))