import requests
from bs4 import BeautifulSoup


def get_soup(url):
    """ Given a URL, returns a BeautifulSoup object for that page
    """
    # raw_page = urllib.request.urlopen(url).read()
    # soup = BeautifulSoup(raw_page, "html.parser")
    raw_page = requests.get(url)
    soup = BeautifulSoup(raw_page.text, "lxml")
    return soup