import requests
from bs4 import BeautifulSoup


def get_page(url):
    """
      Simple funtion that get the url with requests and return a bs4 object.
      :param  (str): The string of the url
      :return: bs4 object
      """
    try:
        req = requests.get(url)
        return BeautifulSoup(req.text, 'html.parser')
    except requests.exceptions.RequestException:
        print("Could load the page: {}".format(url))