def _DownloadPageContent(download_url):
  """Downloads the page content.

  Args:
    download_url: the URL where to download the page content.

  Returns:
    The page content if successful, None otherwise.
  """
  if not download_url:
    return

  url_object = urlopen(download_url)
  if not url_object or url_object.code != 200:
    return

  return url_object.read()
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/dependencies.py/_DownloadPageContent/original