import requests
from bs4 import BeautifulSoup


def fetch_page(url):
    """
    Fetch the page specified by the url and return
    a beautiful soup object of the url fetched
    :param url:
    :return: soup object
    """
    response = requests.get(url)
    if response.status_code == 200:
        response_soup = BeautifulSoup(response.text, 'html.parser')
        return response_soup
    else:
        return None