import requests
from bs4 import BeautifulSoup


def get_data(url):
    """
    Return BeautifulSoup html object.
    """
    r = requests.get(url)
    data = BeautifulSoup(r.text, 'lxml')
    return data