logger.debug("software[%s]='%s' after tidyup.domain() ...", type(software), software)
if software is not None and software != "":
- logger.debug("domain='%s' has og:platform='%s' - Setting detection_mode=PLATFORM ...", domain, software)
+ logger.info("domain='%s' has og:platform='%s' - Setting detection_mode=PLATFORM ...", domain, software)
instances.set_detection_mode(domain, "PLATFORM")
elif isinstance(generator, bs4.element.Tag) and isinstance(generator.get("content"), str) and generator.get("content") != "":
logger.debug("Found generator meta tag: domain='%s'", domain)
logger.debug("software[%s]='%s'", type(software), software)
if software is not None and software != "":
- logger.debug("domain='%s' has application-name='%s' - Setting detection_mode=app_name ...", domain, software)
+ logger.info("domain='%s' has application-name='%s' - Setting detection_mode=APP_NAME ...", domain, software)
instances.set_detection_mode(domain, "APP_NAME")
elif isinstance(site_name, bs4.element.Tag) and isinstance(site_name.get("content"), str) and site_name.get("content") != "":
logger.debug("Found property=og:site_name, domain='%s'", domain)
logger.debug("software[%s]='%s'", type(software), software)
if software is not None and software != "":
- logger.debug("domain='%s' has og:site_name='%s' - Setting detection_mode=SITE_NAME ...", domain, software)
+ logger.info("domain='%s' has og:site_name='%s' - Setting detection_mode=SITE_NAME ...", domain, software)
instances.set_detection_mode(domain, "SITE_NAME")
elif not validators.url(response_url):
logger.warning("response_url='%s' is not valid - Raising exception ...", response_url)
logger.debug("update_mode='%s'", update_mode)
if update_mode:
- logger.debug("Success: request='%s' - Setting detection_mode=STATIC_CHECK for domain='%s' ...", request, domain)
+ logger.info("Success: request='%s' - Setting detection_mode=STATIC_CHECK for domain='%s' ...", request, domain)
instances.set_detection_mode(domain, "STATIC_CHECK")
logger.debug("domain='%s',request='%s'", domain, request)