code: def infer_url_title(url):
      
      meta = get_url_filemeta(url)
      title = ''
      if meta:
          if meta.get('hostname', url) == 'drive.google.com':
              title = get_url_title(url)
          else:
              title = meta.get('filename', meta['hostname']) or meta['hostname']
              title, fileext = splitext(title)
      else:
          logging.error('Unable to retrieve URL: {}'.format(url))
          return None
      return delimit_slug(title, ' ')
docs: Guess what the page title is going to be from the path and FQDN in the URL
  
      >>> infer_url_title('https://ai.googleblog.com/2018/09/the-what-if-tool-code-free-probing-of.html')
      'the what if tool code free probing of'