import requests


def request_page(url: str) -> requests.Response:
    """
    This function makes a request to the webpage to be scraped
    Args:
        url (str): Url of the page to be scraped

    Returns:
        page (requests.Response): Object containing the server's response to the HTTP request    
            
    """ 
    headers= {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36"} 
    page= requests.get(url, headers= headers)
    if page.status_code != 200:
        print("Error processing request")
    return page