def make_disallowed_list(disallow_string: str, homepage_url: str) -> list:
    """makes a list of webpages disallowed by the website's
    robots.txt file

    Args:
        disallow_string (str): string of all the disallowed webpages
        copied from website's robots.txt file
        homepage_url (str): index URL of the website

    Returns:
        list: list of URLs not allowed to be scraped
    """
    disallowed_hrefs = [
        homepage_url + str(href[len("disallow: ") :])
        for href in disallow_string.strip().split("\n")
    ]
    return disallowed_hrefs