import requests
from bs4 import BeautifulSoup


def get_soup(url):
    """Gets soup object for given URL."""
    r = requests.get(url)
    soup = BeautifulSoup(r.content, 'html.parser')
    return soup