import requests


def follow_url(URL):
    """
    Just a wrapper function that automatically raises
    an error if there's issues requesting.
    """
    r = requests.get(URL)
    r.raise_for_status()
    return r.text