docs: def filename_from_url(url):
      """:return: detected filename or None"""
      fname = os.path.basename(urlparse.urlparse(url).path)
      if len(fname.strip(" \n\t.")) == 0:
          return None
      return fname