code: def _download_from_url(self, url):
          
          ext = get_file_extension(url)
          if "?" in url:
              ext = get_file_extension(os.path.splitext(url.split("?")[0]))
          filepath = "/tmp/%s.%s" % (uuid.uuid4().hex, ext)
          request.urlretrieve(url, filepath)
          return filepath
docs: Download a url and return the tmp path
          :param url:
          :return: