import requests


def get_url_content(url: str) -> bytes:
    """Access a given url and return its content."""
    page = requests.get(url)

    if page.status_code != requests.codes.ok:
        raise requests.HTTPError(f"Unable to access {url}")

    return page.content