import requests
from bs4 import BeautifulSoup


def soup(url):
    """Return a soup object of the page's content."""
    try:
        response = requests.get(url)
        response.raise_for_status()
        return BeautifulSoup(response.text, 'html.parser')
    except requests.HTTPError:
        return None